From: Andy Polyakov Date: Mon, 5 Sep 2011 16:33:48 +0000 (+0000) Subject: config: don't add -Wa options with no-asm [from HEAD]. X-Git-Tag: OpenSSL_1_0_1-beta1~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=692a94293c833515999b43b03ae4f862a105cfb0;p=openssl config: don't add -Wa options with no-asm [from HEAD]. --- 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"