From ec14eabf9c2cb4630d384a256479b80e93f6a6d5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 24 Jan 2019 13:19:29 +0200 Subject: Loosen GCC modules enablement requirements --- build2/cxx/init.cxx | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.1