xref: /aoo41x/main/openssl/openssllnx.patch (revision 8d4c92f7)
1diff -ur misc/openssl-1.0.2h/Configure misc/build/openssl-1.0.2h/Configure
2--- misc/openssl-1.0.2h/Configure	2016-05-03 06:44:42.000000000 -0700
3+++ misc/build/openssl-1.0.2h/Configure	2016-08-14 22:07:21.328189000 -0700
4@@ -491,6 +491,9 @@
5
6 "bsdi-elf-gcc",     "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall::(unknown)::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
7
8+"debian-kfreebsd-amd64","gcc:-m64 -DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
9+"debian-kfreebsd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -march=i486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
10+
11 "nextstep",	"cc:-O -Wall:<libc.h>:(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::",
12 "nextstep3.3",	"cc:-O3 -Wall:<libc.h>:(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::",
13
14diff -ur misc/openssl-1.0.2h/Makefile.org misc/build/openssl-1.0.2h/Makefile.org
15--- misc/openssl-1.0.2h/Makefile.org	2016-05-03 06:44:42.000000000 -0700
16+++ misc/build/openssl-1.0.2h/Makefile.org	2016-08-14 22:09:02.144742000 -0700
17@@ -206,7 +206,7 @@
18 # same language for uniform treatment.
19 BUILDENV=	LC_ALL=C PLATFORM='$(PLATFORM)' PROCESSOR='$(PROCESSOR)'\
20 		CC='$(CC)' CFLAG='$(CFLAG)' 			\
21-		AS='$(CC)' ASFLAG='$(CFLAG) -c'			\
22+		AS='$(CC)' ASFLAG='$(CFLAG) -c -Wa,--noexecstack'	\
23 		AR='$(AR)' NM='$(NM)' RANLIB='$(RANLIB)'	\
24 		CROSS_COMPILE='$(CROSS_COMPILE)'	\
25 		PERL='$(PERL)' ENGDIRS='$(ENGDIRS)'		\
26