summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-08 22:59:07 +0800
committerruki <[email protected]>2024-07-08 22:59:07 +0800
commit6161154cd0ee1552f4a369d5da80c82c2fde9407 (patch)
tree684c3d1419236a48e94e095dabe9c8a868200237 /xmake/modules/core/tools/cl.lua
parent8621473fcae841844b670173df23646f7e1a40d0 (diff)
support arm64ec
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index be521098b..c4eede192 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -77,15 +77,15 @@ function init(self)
-- language
, ["-ansi"] = ""
, ["-std=c99"] = "-TP" -- compile as c++ files because msvc doesn't support c99
- , ["-std=c11"] = "-std:c11"
- , ["-std=c17"] = "-std:c17"
- , ["-std=c2x"] = "-std:clatest"
- , ["-std=c23"] = "-std:clatest"
+ , ["-std=c11"] = "-std:c11"
+ , ["-std=c17"] = "-std:c17"
+ , ["-std=c2x"] = "-std:clatest"
+ , ["-std=c23"] = "-std:clatest"
, ["-std=gnu99"] = "-TP" -- compile as c++ files because msvc doesn't support c99
- , ["-std=gnu11"] = "-std:c11"
+ , ["-std=gnu11"] = "-std:c11"
, ["-std=gnu17"] = "-std:c17"
- , ["-std=gnu2x"] = "-std:clatest"
- , ["-std=gnu23"] = "-std:clatest"
+ , ["-std=gnu2x"] = "-std:clatest"
+ , ["-std=gnu23"] = "-std:clatest"
, ["-std=.*"] = ""
-- others