gmp: fix a bug (#2114)

This commit is contained in:
Denis Davydov 2016-10-25 16:08:52 +02:00 committed by Todd Gamblin
parent 0f6a5cd385
commit d7b624457f

View File

@ -42,7 +42,7 @@ class Gmp(AutotoolsPackage):
def configure_args(self):
args = ['--enable-cxx']
# We need this flag if we want all the following checks to pass.
if spec.compiler.name == 'intel':
if self.spec.compiler.name == 'intel':
args.append('CXXFLAGS=-no-ftz')
return args