diff options
author | Andy Polyakov <appro@openssl.org> | 2011-07-13 16:23:19 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-07-13 16:23:19 +0200 |
commit | 2966c2ec31e81187da3fbbe1499a6aa3acfd355f (patch) | |
tree | 0a8bdfc6e0e37f14141095fde3718dd750445514 /config | |
parent | perlasm/cbc.pl: fix tail processing bug. (diff) | |
download | openssl-2966c2ec31e81187da3fbbe1499a6aa3acfd355f.tar.xz openssl-2966c2ec31e81187da3fbbe1499a6aa3acfd355f.zip |
config: detect if assembler supports --noexecstack and pass it down.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -840,6 +840,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 |