summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/clang.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2023-02-15 19:04:13 +0100
committerArthur LAURENT <[email protected]>2023-02-15 19:04:13 +0100
commitd39fdee559df35b35c03ba616558f5614b126a9b (patch)
tree385fccdc14f521bd336b49162759e519839b7c46 /xmake/rules/c++/modules/modules_support/clang.lua
parent46e033b7beaba56ed7dba4587ab98992b1d9f646 (diff)
remove clang module flags deduplication
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/clang.lua')
-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 40c91981e..9d5911775 100644
--- a/xmake/rules/c++/modules/modules_support/clang.lua
+++ b/xmake/rules/c++/modules/modules_support/clang.lua
@@ -233,7 +233,7 @@ function _build_modulefile(target, sourcefile, opt)
bmifile = opt.provide.bmifile
if moduleoutputflag then
- compileflags = table.join("-x", "c++-module", moduleoutputflag .. bmifile, compflags, common_args, requiresflags)
+ compileflags = table.join("-x", "c++-module", moduleoutputflag .. bmifile, requiresflags)
else
bmiflags = table.join("-x", "c++-module", "--precompile", compflags, common_args, requiresflags)
end