diff options
| author | ruki <[email protected]> | 2023-01-08 10:41:31 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-08 10:41:31 +0800 |
| commit | c394913eafbc3a24485a0c88b0d891e9954b302b (patch) | |
| tree | 9999d868e95cfe0d1ae0af92474d9bc5c9ed58cc /xmake/rules/c++/modules | |
| parent | 80f582eb5af42fa9121f6bb294d2d4952140b046 (diff) | |
Update clang.lua
Diffstat (limited to 'xmake/rules/c++/modules')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang.lua | 2 |
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 |
