babelflow: fix conditional constraint in "when" decorator (#31057)
This commit is contained in:
parent
cfc46504ac
commit
11f1b371f7
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user