summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-08 10:41:31 +0800
committerGitHub <[email protected]>2023-01-08 10:41:31 +0800
commitc394913eafbc3a24485a0c88b0d891e9954b302b (patch)
tree9999d868e95cfe0d1ae0af92474d9bc5c9ed58cc /xmake/rules/c++/modules
parent80f582eb5af42fa9121f6bb294d2d4952140b046 (diff)
Update clang.lua
Diffstat (limited to 'xmake/rules/c++/modules')
-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 671643165..34ee9a2ac 100644
--- a/xmake/rules/c++/modules/modules_support/clang.lua
+++ b/xmake/rules/c++/modules/modules_support/clang.lua
@@ -73,7 +73,7 @@ function load(target)
-- add module flags
target:add("cxxflags", modulesflag)
- if not modulesflag or is_host("macosx") then
+ if not modulesflag or target:is_plat("macosx") then
target:add("cxxflags", modulestsflag)
end