diff options
author | Andy Polyakov <appro@openssl.org> | 2011-07-15 19:59:31 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-07-15 19:59:31 +0000 |
commit | e0e0818e4b5fa9e0205ac7adb06f24b4eda83313 (patch) | |
tree | ce8e17d8ffc40cdb399f25df6da3b0f1728917ee | |
parent | 82a5049f6a45a273b8119721e593a285ad6e6408 (diff) |
config: detect if assembler supports --noexecstack and pass it down [from HEAD].
-rwxr-xr-x | config | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -790,6 +790,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 |