aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-22 15:17:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-22 15:17:50 +0200
commit77bec2b75e8c84a790d4f82837e6261d1bdaafe8 (patch)
tree2f2254f568761821dedefee0465ab6b6941190cc /build2/cc/compile.cxx
parent853006cc13e8dacefaae4567b8177c9985a64eba (diff)
Remove -Xclang module options that seem to be passed by default in trunk
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r--build2/cc/compile.cxx6
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);