summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-05-02 22:45:52 +0800
committerGitHub <[email protected]>2026-05-02 22:45:52 +0800
commit1e431c685f2f2b4f28e6995e256fc6c7c4bf3d13 (patch)
treef87ac2a8aac62ef46f9ff3d65127a27c5f617030
parent267b07686b5d00ae0ca9546634d8010c66c4b53f (diff)
parent0ed86e029fe77587c8de44000f5ff1e0ca699742 (diff)
Merge pull request #7520 from choyy/fix-cl-exception
fix cl exception
-rw-r--r--xmake/modules/core/tools/cl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 8928263d8..733c6b2d1 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -379,7 +379,7 @@ end
function nf_exception(self, exp)
local maps = {
cxx = "/EHsc",
- ["no-cxx"] = "/EHsc-"
+ ["no-cxx"] = "/EHs-c-"
}
return maps[exp]
end