summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-10-25 16:08:52 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2016-10-25 07:08:52 -0700
commitd7b624457ff3765c35e4adb9be70d1a2e86e0f2e (patch)
treeae11e85828601da433ab6d5f1d9317bf5dbd1f6c
parent0f6a5cd38538e8969d11bd2167f11060b1f53b43 (diff)
downloadspack-d7b624457ff3765c35e4adb9be70d1a2e86e0f2e.tar.gz
spack-d7b624457ff3765c35e4adb9be70d1a2e86e0f2e.tar.bz2
spack-d7b624457ff3765c35e4adb9be70d1a2e86e0f2e.tar.xz
spack-d7b624457ff3765c35e4adb9be70d1a2e86e0f2e.zip
gmp: fix a bug (#2114)
-rw-r--r--var/spack/repos/builtin/packages/gmp/package.py2
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