config: don't add -Wa options with no-asm.

This commit is contained in:
Andy Polyakov 2011-09-05 16:31:51 +00:00
parent dd83d0f4a7
commit f952716745

1
config
View File

@ -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"