summaryrefslogtreecommitdiff
path: root/package/openssl/patches/110-optimize-for-size.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-03 18:45:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-03 18:45:35 +0000
commit1efe968c2e4f7ead77c338e1e4c26c3a91206fee (patch)
tree26d13bd4a38a492e2efbbd13864d3ef49b5e5cdd /package/openssl/patches/110-optimize-for-size.patch
parentf394bbbcaadf14e08018ba68e5ff1914af2fef86 (diff)
downloadmtk-20170518-1efe968c2e4f7ead77c338e1e4c26c3a91206fee.zip
mtk-20170518-1efe968c2e4f7ead77c338e1e4c26c3a91206fee.tar.gz
mtk-20170518-1efe968c2e4f7ead77c338e1e4c26c3a91206fee.tar.bz2
openssl: update to 1.0.0c
Signed-off-by: Peter Wagner <tripolar@gmx.at> SVN-Revision: 25348
Diffstat (limited to 'package/openssl/patches/110-optimize-for-size.patch')
-rw-r--r--package/openssl/patches/110-optimize-for-size.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/openssl/patches/110-optimize-for-size.patch b/package/openssl/patches/110-optimize-for-size.patch
index ae35f50..13c5a8c 100644
--- a/package/openssl/patches/110-optimize-for-size.patch
+++ b/package/openssl/patches/110-optimize-for-size.patch
@@ -1,9 +1,9 @@
--- a/Configure
+++ b/Configure
-@@ -370,6 +370,8 @@ my %table=(
- "linux-alpha+bwx-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
- "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:${no_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:${no_asm}",
+@@ -379,6 +379,8 @@ my %table=(
+ "linux-alpha+bwx-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ "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-openwrt","gcc:-DTERMIO \$(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)",