diff options
author | Christian Pointner <equinox@anytun.org> | 2018-06-09 01:57:38 +0200 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2018-06-09 02:18:24 +0200 |
commit | a9b3f121565be972a06191d24fadba0f625a1a50 (patch) | |
tree | bb8f8020eb271e0cf3717a1ebcb84ad27945a72d /contrib/openssl-1.1.0h-configure.patch | |
parent | make builds reproducible (diff) |
updated openssl build script for windows
Diffstat (limited to 'contrib/openssl-1.1.0h-configure.patch')
-rw-r--r-- | contrib/openssl-1.1.0h-configure.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/openssl-1.1.0h-configure.patch b/contrib/openssl-1.1.0h-configure.patch new file mode 100644 index 0000000..54363f6 --- /dev/null +++ b/contrib/openssl-1.1.0h-configure.patch @@ -0,0 +1,32 @@ +diff -Nur openssl-1.1.0h.orig/config openssl-1.1.0h/config +--- openssl-1.1.0h.orig/config 2018-06-09 01:39:38.845245228 +0200 ++++ openssl-1.1.0h/config 2018-06-09 01:43:01.715723809 +0200 +@@ -843,11 +843,11 @@ + options="$options $CONFIG_OPTIONS" + fi + +-if expr "$options" : '.*no\-asm' > /dev/null; then :; else +- sh -c "$CROSS_COMPILE${CC:-gcc} -Wa,--help -c -o /tmp/null.$$.o -x assembler /dev/null && rm /tmp/null.$$.o" 2>&1 | \ +- grep \\--noexecstack >/dev/null && \ +- options="$options -Wa,--noexecstack" +-fi ++#if expr "$options" : '.*no\-asm' > /dev/null; then :; else ++# sh -c "$CROSS_COMPILE${CC:-gcc} -Wa,--help -c -o /tmp/null.$$.o -x assembler /dev/null && rm /tmp/null.$$.o" 2>&1 | \ ++# grep \\--noexecstack >/dev/null && \ ++# options="$options -Wa,--noexecstack" ++#fi + + # gcc < 2.8 does not support -march=ultrasparc + if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ] +diff -Nur openssl-1.1.0h.orig/Configure openssl-1.1.0h/Configure +--- openssl-1.1.0h.orig/Configure 2018-06-09 01:39:38.845245228 +0200 ++++ openssl-1.1.0h/Configure 2018-06-09 01:47:30.473859795 +0200 +@@ -741,7 +741,7 @@ + } + else + { +- die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); ++ # die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); + $target=$_; + } + unless ($_ eq $target || /^no-/ || /^disable-/) |