diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-01-24 13:19:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-01-24 13:19:29 +0200 |
commit | ec14eabf9c2cb4630d384a256479b80e93f6a6d5 (patch) | |
tree | 9467f1b4c68c982c9cde50f1ca37b0b432e714bf | |
parent | cc6280af7eca660c916dc652066216acd474979d (diff) |
Loosen GCC modules enablement requirements
-rw-r--r-- | build2/cxx/init.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx index 657893e..c42f483 100644 --- a/build2/cxx/init.cxx +++ b/build2/cxx/init.cxx @@ -193,8 +193,7 @@ namespace build2 // Enable starting with GCC 9.0.0 (currently the c++-modules // branch). // - if (l && // Barely usable at the moment. - mj >= 9 && + if (mj >= 9 && ci.version.build.find ("c++-modules") != string::npos) { // Currently defines __cpp_modules=201804 which is said to |