config: don't add -Wa options with no-asm.
This commit is contained in:
parent
dd83d0f4a7
commit
f952716745
1 changed files with 1 additions and 0 deletions
1
config
1
config
|
@ -841,6 +841,7 @@ esac
|
|||
# options="$options -DATALLA"
|
||||
#fi
|
||||
|
||||
! expr "$options" : '.*no\-asm' > /dev/null && \
|
||||
($CC -Wa,--help -c -o /dev/null -x assembler /dev/null 2>&1 | \
|
||||
grep \\--noexecstack) 2>&1 > /dev/null && \
|
||||
options="$options -Wa,--noexecstack"
|
||||
|
|
Loading…
Reference in a new issue