Permalink
Browse files

openssl: do not compile for 486

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
  • Loading branch information...
1 parent 765b1ac commit beb29c00a45b8136c550cf0febaf117d3da6e377 @kusma kusma committed Apr 7, 2011
Showing with 29 additions and 0 deletions.
  1. +29 −0 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 <kusmabite@gmail.com>
+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 <kusmabite@gmail.com>
+---
+ 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
+

0 comments on commit beb29c0

Please sign in to comment.