summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-09-05 16:31:51 +0000
committerAndy Polyakov <appro@openssl.org>2011-09-05 16:31:51 +0000
commitf95271674502bb22b8cea71f943bc63e8e0091d3 (patch)
tree14043adcff6af20d78dfc624c079836295c073d4 /config
parentdd83d0f4a79ff244b73a9bd7262ac8db3d58a2f4 (diff)
downloadopenssl-new-f95271674502bb22b8cea71f943bc63e8e0091d3.tar.gz
config: don't add -Wa options with no-asm.
Diffstat (limited to 'config')
-rwxr-xr-xconfig1
1 files changed, 1 insertions, 0 deletions
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"