summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/tophat/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tophat/package.py b/var/spack/repos/builtin/packages/tophat/package.py
index ea08822ab7..cc6ed66a6f 100644
--- a/var/spack/repos/builtin/packages/tophat/package.py
+++ b/var/spack/repos/builtin/packages/tophat/package.py
@@ -29,5 +29,8 @@ class Tophat(AutotoolsPackage):
parallel = False
+ def setup_build_environment(self, env):
+ env.append_flags("CFLAGS", self.compiler.cxx98_flag)
+
def configure_args(self):
return ["--with-boost={0}".format(self.spec['boost'].prefix)]