diff options
author | Andy Polyakov <appro@openssl.org> | 2011-07-13 14:25:22 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-07-13 14:25:22 +0000 |
commit | aade369737aace935de5db9ef3f85cf91ba65c66 (patch) | |
tree | d0bd5003742141f76bca38b0b541919071188fbc | |
parent | 2a5e042c70dc43b9c3d1c5e8b196aec78a161346 (diff) |
config: config: detect if assembler supports --noexecstack and pass it down
[from HEAD].
-rwxr-xr-x | config | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -822,6 +822,10 @@ esac # options="$options -DATALLA" #fi +($CC -Wa,--help -c -o /dev/null -x assembler /dev/null 2>&1 | \ + grep \\--noexecstack) 2>&1 > /dev/null && \ + options="$options -Wa,--noexecstack" + # gcc < 2.8 does not support -march=ultrasparc if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ] then |