From beb29c00a45b8136c550cf0febaf117d3da6e377 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 7 Apr 2011 17:47:11 +0200 Subject: [PATCH] openssl: do not compile for 486 Signed-off-by: Erik Faye-Lund --- .../patches/0006-do-not-specify-march-i486.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/openssl/patches/0006-do-not-specify-march-i486.patch diff --git a/src/openssl/patches/0006-do-not-specify-march-i486.patch b/src/openssl/patches/0006-do-not-specify-march-i486.patch new file mode 100644 index 00000000..9314a05e --- /dev/null +++ b/src/openssl/patches/0006-do-not-specify-march-i486.patch @@ -0,0 +1,29 @@ +From 26481456a08bdb5258dfdb17c55174adeb7284ce Mon Sep 17 00:00:00 2001 +From: Erik Faye-Lund +Date: Thu, 7 Apr 2011 17:42:55 +0200 +Subject: [PATCH] do not specify -march=i486 + +The 486 is phased out around the world now, there's no point in +crippling the compiled result. + +Signed-off-by: Erik Faye-Lund +--- + Configure | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Configure b/Configure +index ec87f24..d00feac 100755 +--- a/Configure ++++ b/Configure +@@ -490,7 +490,7 @@ my %table=( + "BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32", + + # MinGW +-"mingw", "gcc:-mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -D_WIN32_WINNT=0x333:::MINGW32:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_coff_asm}:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin -shared:.dll.a", ++"mingw", "gcc:-mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -Wall -D_WIN32_WINNT=0x333:::MINGW32:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_coff_asm}:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin -shared:.dll.a", + + # UWIN + "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32", +-- +1.7.4.1.445.g0d87f.dirty + -- 2.11.4.GIT