summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-09-05 16:33:48 +0000
committerAndy Polyakov <appro@openssl.org>2011-09-05 16:33:48 +0000
commit692a94293c833515999b43b03ae4f862a105cfb0 (patch)
treed7401446070f9ac955b7eb43eff9156730afc20a /config
parentefebb108292f4c583a6fb283c005aac210a4f59a (diff)
config: don't add -Wa options with no-asm [from HEAD].
Diffstat (limited to 'config')
-rwxr-xr-xconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/config b/config
index d7347cd57f..2d9ab4d2a4 100755
--- a/config
+++ b/config
@@ -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"