summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 8702dade6..bad9f5f6d 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -177,9 +177,9 @@ function nf_optimize(self, level)
{
none = "-Od"
, faster = "-Ox"
- , fastest = "-O2 -fp:fast"
+ , fastest = "-O2"
, smallest = "-O1 -GL" -- /GL and (/OPT:REF is on by default in linker), we need to enable /ltcg
- , aggressive = "-O2 -fp:fast"
+ , aggressive = "-O2"
}
return maps[level]
end