diff options
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 2 |
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 |
