From d7b624457ff3765c35e4adb9be70d1a2e86e0f2e Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 25 Oct 2016 16:08:52 +0200 Subject: gmp: fix a bug (#2114) --- var/spack/repos/builtin/packages/gmp/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'var') 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 -- cgit v1.2.3-70-g09d2