config: don't add -Wa options with no-asm.
authorAndy Polyakov <appro@openssl.org>
Mon, 5 Sep 2011 16:31:51 +0000 (16:31 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 5 Sep 2011 16:31:51 +0000 (16:31 +0000)
config

diff --git a/config b/config
index 32bec89..06bebb8 100755 (executable)
--- 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"