summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/babelflow/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/babelflow/package.py b/var/spack/repos/builtin/packages/babelflow/package.py
index f768a8f1d9..b881aeb041 100644
--- a/var/spack/repos/builtin/packages/babelflow/package.py
+++ b/var/spack/repos/builtin/packages/babelflow/package.py
@@ -25,8 +25,8 @@ class Babelflow(CMakePackage):
variant("shared", default=True, description="Build Babelflow as shared libs")
- # The C++ headers of gcc-11 don't provide <limits> as side effect of others
- @when('%gcc@11:')
+ # Fix missing implicit includes
+ @when('%gcc@7:')
def setup_build_environment(self, env):
env.append_flags('CXXFLAGS', '-include limits')