From 5480354492995e40f3c80cbde39f87cde0b27291 Mon Sep 17 00:00:00 2001 From: notdefine Date: Sat, 17 Jan 2009 21:40:25 +0000 Subject: [PATCH] march=i686 causes problems while 64Bit compiling, GCC tries to generate Output for a m64 machine, but the marchi686 doesnt allow the instructionfs for that. So i removed this commandline options. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@931 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/scripts/config-linux.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/scripts/config-linux.mk b/libretroshare/src/scripts/config-linux.mk index e27185145..fce818fd7 100644 --- a/libretroshare/src/scripts/config-linux.mk +++ b/libretroshare/src/scripts/config-linux.mk @@ -65,8 +65,13 @@ RSCFLAGS = -Wall -g $(INCLUDE) # For the SSL BIO compilation. (Copied from OpenSSL compilation flags) BIOCC = gcc +# march=i686 causes problems while 64Bit compiling, GCC tries to generate Output for a m64 machine, but the marchi686 +# doesnt allow the instructionfs for that. +# +# gcc docu: http://gcc.gnu.org/onlinedocs/gcc-4.0.3/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options + # Linux flags -BIOCFLAGS = -I $(SSL_DIR)/include ${DEFINES} -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=i686 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM +BIOCFLAGS = -I $(SSL_DIR)/include ${DEFINES} -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM ######################################################################### # OS specific Linking.