summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-27 14:37:50 +0800
committerGitHub <[email protected]>2025-11-27 14:37:50 +0800
commit4be95ee920757c2c813b84af5f07653c191c0215 (patch)
tree00205369ae94f4273471a2935f2295f03d14f9aa
parentd0fb4b9571c0a104cfba6fd1d824423c68f2c792 (diff)
parent9732da3b6ed31f883c39a58355abe57c019a4ae1 (diff)
Merge pull request #7069 from MaxwellGengYF/dev
Save QT rules for llvm-toolchain
-rw-r--r--xmake/rules/qt/load.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua
index 492f0fe42..9fc204174 100644
--- a/xmake/rules/qt/load.lua
+++ b/xmake/rules/qt/load.lua
@@ -224,7 +224,7 @@ function main(target, opt)
if qt_sdkver:ge("6.0") then
-- @see https://github.com/xmake-io/xmake/issues/2071
- if target:is_plat("windows") then
+ if target:is_plat("windows") and target:has_tool("cxx", "clang_cl", "cl") then
target:add("cxxflags", "/Zc:__cplusplus")
target:add("cxxflags", "/permissive-")
end