diff --git a/config b/config index 32bec89db2..06bebb8aaf 100755 --- a/config +++ b/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"