summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-08-05 06:31:14 +0200
committerArthur LAURENT <[email protected]>2022-08-05 06:31:14 +0200
commit24f8056d206e6b56bd71e87c1688bf68a45675d1 (patch)
treec9816fda81cc44e60ac27599db05e7d484fa2de3
parent59bdca35cd89624f1706ece6fb9d3b448a491a86 (diff)
Fix clang output build module flags
-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 734fa5a4d..4cefed14d 100644
--- a/xmake/rules/c++/modules/modules_support/clang.lua
+++ b/xmake/rules/c++/modules/modules_support/clang.lua
@@ -261,7 +261,7 @@ function build_modules(target, batchcmds, objectfiles, modules, opt)
local bmiflags = modulefileflag .. bmifile
target:add("cxxflags", bmiflags, {public = true, force = true})
target:add("objectfiles", objectfile)
- target:data_add("cxx.modules.flags", f)
+ target:data_add("cxx.modules.flags", bmiflags)
depmtime = math.max(depmtime, os.mtime(bmifile))
end
end