summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-03 11:12:57 +0800
committerruki <[email protected]>2022-12-03 11:12:57 +0800
commit24807de39c7258858b9f8f6a2629a128dd2014b4 (patch)
tree39b43395af7641827ac77f5ad1e3ad8e9f8e4b68
parent09113b27d3b5749b09716e8e0ec6c766b4662bd5 (diff)
improve clang-cl
-rw-r--r--xmake/modules/core/tools/clang_cl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/clang_cl.lua b/xmake/modules/core/tools/clang_cl.lua
index 8f290b9c4..1c993a6b6 100644
--- a/xmake/modules/core/tools/clang_cl.lua
+++ b/xmake/modules/core/tools/clang_cl.lua
@@ -96,7 +96,7 @@ function nf_optimize(self, level)
{
none = "-Od"
, faster = "-Ox"
- , fastest = "-O2 -fp:fast"
+ , fastest = "-O2"
, smallest = "-O1"
, aggressive = "-O2 -fp:fast"
}