diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-22 15:17:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-22 15:17:50 +0200 |
commit | 77bec2b75e8c84a790d4f82837e6261d1bdaafe8 (patch) | |
tree | 2f2254f568761821dedefee0465ab6b6941190cc | |
parent | 853006cc13e8dacefaae4567b8177c9985a64eba (diff) |
Remove -Xclang module options that seem to be passed by default in trunk
-rw-r--r-- | build2/cc/compile.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
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); |