From 77bec2b75e8c84a790d4f82837e6261d1bdaafe8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Nov 2017 15:17:50 +0200 Subject: Remove -Xclang module options that seem to be passed by default in trunk --- build2/cc/compile.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'build2/cc/compile.cxx') diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 2f8a0e1..d4ab22d 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -4206,10 +4206,6 @@ namespace build2 args.push_back ("-Xclang"); args.push_back ("-fmodules-embed-all-files"); - // These should become the default at some point. - // - args.push_back ("-Xclang"); args.push_back ("-fmodules-codegen"); - args.push_back ("-Xclang"); args.push_back ("-fmodules-debuginfo"); break; } case compiler_id::msvc: @@ -4407,7 +4403,7 @@ namespace build2 args.resize (out_i + 1); args.push_back (relo.string ().c_str ()); // Produce .o. args.push_back ("-c"); // By compiling .pcm. - args.push_back ("-Wno-unused-command-line-argument"); //@@ MOD (-I). + args.push_back ("-Wno-unused-command-line-argument"); args.push_back (relm.string ().c_str ()); args.push_back (nullptr); -- cgit v1.1