summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchooyy <[email protected]>2026-04-30 16:52:36 +0800
committerchooyy <[email protected]>2026-04-30 16:52:36 +0800
commit0ed86e029fe77587c8de44000f5ff1e0ca699742 (patch)
tree3813fd493b4cf463b2d181fb9fa8ac92fa7aaeda
parent6a10bec8cf45841e3ddb4dfa82a28538c7136a39 (diff)
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