Skip to content
Snippets Groups Projects
Commit d7b62445 authored by Denis Davydov's avatar Denis Davydov Committed by Todd Gamblin
Browse files

gmp: fix a bug (#2114)

parent 0f6a5cd3
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment