aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-01-24 13:19:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-01-24 13:19:29 +0200
commitec14eabf9c2cb4630d384a256479b80e93f6a6d5 (patch)
tree9467f1b4c68c982c9cde50f1ca37b0b432e714bf
parentcc6280af7eca660c916dc652066216acd474979d (diff)
Loosen GCC modules enablement requirements
-rw-r--r--build2/cxx/init.cxx3
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