From: Andy Polyakov Date: Mon, 5 Sep 2011 16:31:51 +0000 (+0000) Subject: config: don't add -Wa options with no-asm. X-Git-Tag: OpenSSL-fips-2_0-rc1~164 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f95271674502bb22b8cea71f943bc63e8e0091d3;p=oweals%2Fopenssl.git config: don't add -Wa options with no-asm. --- 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"