mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
config: detect if assembler supports --noexecstack and pass it down.
This commit is contained in:
parent
4195a369fd
commit
2966c2ec31
4
config
4
config
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user