summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-07-03 22:35:22 +0800
committerruki <[email protected]>2023-07-03 22:35:22 +0800
commit087be99d586ed93ac76cf52d56e31b14ea7f6b55 (patch)
treef7d3c3083038b568b8eea8a136c9f0afdcd51e8e
parent4734704b67b64b91150bfc4c22ba1d43c9c4df4d (diff)
sync flags for clang modules #3857
-rw-r--r--xmake/rules/c++/modules/modules_support/clang.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang.lua b/xmake/rules/c++/modules/modules_support/clang.lua
index 3048ad1f4..888f0f334 100644
--- a/xmake/rules/c++/modules/modules_support/clang.lua
+++ b/xmake/rules/c++/modules/modules_support/clang.lua
@@ -435,7 +435,7 @@ function generate_stl_headerunits_for_batchcmds(target, batchcmds, headerunits,
common.memcache():set2(headerunit.name, "building", true)
local flags = {
path(stlcachedir, function (p) return modulecachepathflag .. p end),
- "-c", "-o", path(bmifile), "-x", "c++-system-header", headerunit.name}
+ "-c", "-Wno-everything", "-o", path(bmifile), "-x", "c++-system-header", headerunit.name}
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.headerunit.$(mode) %s", headerunit.name)
_batchcmds_compile(batchcmds, target, flags)
end