diff --git a/gmp.spec b/gmp.spec index 39256addf1f229499ed76eadfdbd3be29f9ce630..bf710bd035d45de813afac126126da551a9e8786 100644 --- a/gmp.spec +++ b/gmp.spec @@ -38,7 +38,7 @@ GMP dependent library for C++ applications. %build autoreconf -ifv if as --help | grep -q execstack; then - export CCAS="gcc -c -Wa,--noexecstack" + export CCAS="${CC} -c -Wa,--noexecstack" fi %ifarch %{ix86}