summaryrefslogtreecommitdiff
path: root/package/libs/openssl/patches/110-optimize-for-size.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-24 13:23:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-24 13:23:39 +0000
commit9ac5cfe1ba90af3cf2bfca1179f8c3c1dc4c5689 (patch)
treec5be8b01e5f340b7272fa1287da6fb03cddaa2f5 /package/libs/openssl/patches/110-optimize-for-size.patch
parent3cefd0af7de5f6e3b8b842ba50f60ae10a8372df (diff)
downloadmtk-20170518-9ac5cfe1ba90af3cf2bfca1179f8c3c1dc4c5689.zip
mtk-20170518-9ac5cfe1ba90af3cf2bfca1179f8c3c1dc4c5689.tar.gz
mtk-20170518-9ac5cfe1ba90af3cf2bfca1179f8c3c1dc4c5689.tar.bz2
openssl: fix target definition for x86_64 (#18182)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43045
Diffstat (limited to 'package/libs/openssl/patches/110-optimize-for-size.patch')
-rw-r--r--package/libs/openssl/patches/110-optimize-for-size.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libs/openssl/patches/110-optimize-for-size.patch b/package/libs/openssl/patches/110-optimize-for-size.patch
index d6cf2b5..2683819 100644
--- a/package/libs/openssl/patches/110-optimize-for-size.patch
+++ b/package/libs/openssl/patches/110-optimize-for-size.patch
@@ -1,10 +1,11 @@
--- a/Configure
+++ b/Configure
-@@ -403,6 +403,10 @@ my %table=(
+@@ -403,6 +403,11 @@ my %table=(
"linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}",
"linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}",
+# OpenWrt targets
++"linux-x86_64-openwrt", "gcc:-m64 -DL_ENDIAN -DTERMIOS \$(OPENWRT_OPTIMIZATION_FLAGS) -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64",
+"linux-mips-openwrt","gcc:-DTERMIOS \$(OPENWRT_OPTIMIZATION_FLAGS) -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${mips32_asm}:o32:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+"linux-generic-openwrt","gcc:-DTERMIOS \$(OPENWRT_OPTIMIZATION_FLAGS) -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+