config: don't add -Wa options with no-asm [from HEAD].

This commit is contained in:
Andy Polyakov 2011-09-05 16:33:48 +00:00
parent efebb10829
commit 692a94293c

1
config
View File

@ -822,6 +822,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"