New upstream version 0.3.8
[anytun.git] / contrib / openssl-1.1.0h-configure.patch
1 diff -Nur openssl-1.1.0h.orig/config openssl-1.1.0h/config
2 --- openssl-1.1.0h.orig/config  2018-06-09 01:39:38.845245228 +0200
3 +++ openssl-1.1.0h/config       2018-06-09 01:43:01.715723809 +0200
4 @@ -843,11 +843,11 @@
5    options="$options $CONFIG_OPTIONS"
6  fi
7  
8 -if expr "$options" : '.*no\-asm' > /dev/null; then :; else
9 -  sh -c "$CROSS_COMPILE${CC:-gcc} -Wa,--help -c -o /tmp/null.$$.o -x assembler /dev/null && rm /tmp/null.$$.o" 2>&1 | \
10 -  grep \\--noexecstack >/dev/null && \
11 -  options="$options -Wa,--noexecstack"
12 -fi
13 +#if expr "$options" : '.*no\-asm' > /dev/null; then :; else
14 +#  sh -c "$CROSS_COMPILE${CC:-gcc} -Wa,--help -c -o /tmp/null.$$.o -x assembler /dev/null && rm /tmp/null.$$.o" 2>&1 | \
15 +#  grep \\--noexecstack >/dev/null && \
16 +#  options="$options -Wa,--noexecstack"
17 +#fi
18  
19  # gcc < 2.8 does not support -march=ultrasparc
20  if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ]
21 diff -Nur openssl-1.1.0h.orig/Configure openssl-1.1.0h/Configure
22 --- openssl-1.1.0h.orig/Configure       2018-06-09 01:39:38.845245228 +0200
23 +++ openssl-1.1.0h/Configure    2018-06-09 01:47:30.473859795 +0200
24 @@ -741,7 +741,7 @@
25                 }
26         else
27                 {
28 -               die "target already defined - $target (offending arg: $_)\n" if ($target ne "");
29 +               # die "target already defined - $target (offending arg: $_)\n" if ($target ne "");
30                 $target=$_;
31                 }
32         unless ($_ eq $target || /^no-/ || /^disable-/)