diff options
-rw-r--r-- | var/spack/repos/builtin/packages/gmp/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gmp/package.py b/var/spack/repos/builtin/packages/gmp/package.py index dcabbff67e..eacd3a6733 100644 --- a/var/spack/repos/builtin/packages/gmp/package.py +++ b/var/spack/repos/builtin/packages/gmp/package.py @@ -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 |