ubuntu16.04 64-bit cross-compilation environment
 error occurred while compiling openssl  
 
 the problem is CFGLAG 
  CFLAG=-DDSO_DLFCN-DHAVE_DLFCN_H-M64-DL_ENDIAN-O3-Wall in Makefile generated after configure execution  
just get rid of-M64
however, you have to change it manually every time you compile. Is there any other way?
