summaryrefslogtreecommitdiff
path: root/openwrt/package/openssl
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-08-11 10:35:49 +0000
committerNicolas Thill <nico@openwrt.org>2005-08-11 10:35:49 +0000
commit544736f3e2728ad11c3804003d07856f1aec3b6f (patch)
treec4bc213331dc802fceb4664f47cc9e6ecc7c83d2 /openwrt/package/openssl
parent1852c92c889f5f64b5377cc4b82f4226cd922ff2 (diff)
downloadmtk-20170518-544736f3e2728ad11c3804003d07856f1aec3b6f.zip
mtk-20170518-544736f3e2728ad11c3804003d07856f1aec3b6f.tar.gz
mtk-20170518-544736f3e2728ad11c3804003d07856f1aec3b6f.tar.bz2
Fix building when target arch = i386
SVN-Revision: 1609
Diffstat (limited to 'openwrt/package/openssl')
-rw-r--r--openwrt/package/openssl/patches/160-configure-i386.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/openwrt/package/openssl/patches/160-configure-i386.patch b/openwrt/package/openssl/patches/160-configure-i386.patch
new file mode 100644
index 0000000..33f9d1b
--- /dev/null
+++ b/openwrt/package/openssl/patches/160-configure-i386.patch
@@ -0,0 +1,10 @@
+--- openssl-0.9.7g/Configure.old 2005-08-09 15:38:35.000000000 +0200
++++ openssl-0.9.7g/Configure 2005-08-09 15:41:30.000000000 +0200
+@@ -413,6 +413,7 @@
+ "linux-ia64-ecc", "ecc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK:asm/ia64.o::::asm/sha1-ia64.o::asm/rc4-ia64.o:::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ "linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:asm/x86_64-gcc.o::::::asm/rc4-amd64.o:::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ "linux-em64t", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR BF_PTR2 DES_INT DES_UNROLL:asm/x86_64-gcc.o:::::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
++"linux-i386", "gcc:-DL_ENDIAN -DTERMIO \$(CCOPTS) -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ "NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ "NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ "NetBSD-x86", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -m486 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",