diff options
author | Jen Herting <jen@herting.cc> | 2021-06-11 03:54:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 09:54:18 +0200 |
commit | 269615b9cacd077a2d375e2722e0d4adb7df2a78 (patch) | |
tree | d7079a7a7de4e6adc9b429676464afe7eeaa6362 | |
parent | ec2d8a1571080c9034ef0880d18322027f5c86eb (diff) | |
download | spack-269615b9cacd077a2d375e2722e0d4adb7df2a78.tar.gz spack-269615b9cacd077a2d375e2722e0d4adb7df2a78.tar.bz2 spack-269615b9cacd077a2d375e2722e0d4adb7df2a78.tar.xz spack-269615b9cacd077a2d375e2722e0d4adb7df2a78.zip |
tophat: set the C++ standard (#21737)
-rw-r--r-- | var/spack/repos/builtin/packages/tophat/package.py | 3 |
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)] |