diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index a3dfcfdc6..930bef4c2 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -53,7 +53,7 @@ # with "Illegal mnemonic" error message. inherit_from => [ "solaris-common", asm("x86_elf_asm") ], cc => "gcc", - cflags => add_before(" ", "-march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM"), + cflags => add_before(" ", "-Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM"), debug_cflags => "-O0 -g", release_cflags => "-O3 -fomit-frame-pointer", thread_cflag => "-pthread", @@ -606,7 +606,7 @@ "linux-elf" => { inherit_from => [ "linux-generic32", asm("x86_elf_asm") ], cc => "gcc", - cflags => "-march=i486 -DL_ENDIAN -Wall", + cflags => "-DL_ENDIAN -Wall", debug_cflags => "-O0 -g -DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG", release_cflags => "-O3 -fomit-frame-pointer", debug_ex_libs => "-lefence", @@ -615,7 +615,7 @@ "linux-aout" => { inherit_from => [ asm("x86_asm") ], cc => "gcc", - cflags => "-DL_ENDIAN -march=i486 -Wall", + cflags => "-DL_ENDIAN -Wall", debug_cflags => "-O0 -g", release_cflags => "-O3 -fomit-frame-pointer", thread_cflag => "(unknown)", @@ -795,10 +795,6 @@ "android-armeabi" => { inherit_from => [ "android", asm("armv4_asm") ], }, - "android-armv7" => { - inherit_from => [ "android-armeabi" ], - cflags => add_before(" ", "-march=armv7-a"), - }, "android-mips" => { inherit_from => [ "android", asm("mips32_asm") ], perlasm_scheme => "o32", @@ -884,7 +880,7 @@ "bsdi-elf-gcc" => { inherit_from => [ asm("x86_elf_asm") ], cc => "gcc", - cflags => "-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall", + cflags => "-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -Wall", thread_cflag => "(unknown)", ex_libs => "-ldl", bn_ops => "BN_LLONG", @@ -974,7 +970,7 @@ "unixware-7-gcc" => { inherit_from => [ asm("x86_elf_asm") ], cc => "gcc", - cflags => "-DL_ENDIAN -DFILIO_H -O3 -fomit-frame-pointer -march=pentium -Wall", + cflags => "-DL_ENDIAN -DFILIO_H -O3 -fomit-frame-pointer -Wall", thread_cflag => "-D_REENTRANT", ex_libs => "-lsocket -lnsl", bn_ops => "BN_LLONG", @@ -1431,7 +1427,7 @@ "hurd-x86" => { inherit_from => [ asm("x86_elf_asm") ], cc => "gcc", - cflags => "-DL_ENDIAN -O3 -fomit-frame-pointer -march=i486 -Wall", + cflags => "-DL_ENDIAN -O3 -fomit-frame-pointer -Wall", thread_cflag => "-pthread", ex_libs => "-ldl", bn_ops => "BN_LLONG", diff --git a/Configurations/90-team.conf b/Configurations/90-team.conf index 253094541..226fe6c78 100644 --- a/Configurations/90-team.conf +++ b/Configurations/90-team.conf @@ -54,7 +54,7 @@ "debug-linux-elf-noefence" => { inherit_from => [ "x86_elf_asm" ], cc => "gcc", - cflags => "-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -march=i486 -Wall", + cflags => "-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -Wall", thread_cflag => "-D_REENTRANT", ex_libs => "-ldl", bn_ops => "BN_LLONG", diff --git a/config b/config index a70e3a2dd..ba66b3327 100755 --- a/config +++ b/config @@ -812,7 +812,9 @@ case "$GUESSOS" in x86pc-*-qnx6) OUT="QNX6-i386" ;; *-*-qnx6) OUT="QNX6" ;; x86-*-android|i?86-*-android) OUT="android-x86" ;; - armv[7-9]*-*-android) OUT="android-armv7" ;; + armv[7-9]*-*-android) + OUT="android-armeabi"; options="$options -march=armv7-a" ;; + arm*-*-android) OUT="android-armeabi" ;; *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; esac