From 8b0dd0af6d17b5b8aca36ff64c062fe567ac8ca4 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 25 Apr 2023 22:40:45 +0800 Subject: remove optimize for armasm --- xmake/modules/core/tools/armasm_msvc.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/xmake/modules/core/tools/armasm_msvc.lua b/xmake/modules/core/tools/armasm_msvc.lua index f8cda98eb..6a2e5c755 100644 --- a/xmake/modules/core/tools/armasm_msvc.lua +++ b/xmake/modules/core/tools/armasm_msvc.lua @@ -46,20 +46,6 @@ function nf_symbol(self, level) end end --- make the optimize flag -function nf_optimize(self, level) - local maps = - { - none = "-O0" - , fast = "-O1" - , faster = "-O2" - , fastest = "-O3" - , smallest = "-Os" - , aggressive = "-Ofast" - } - return maps[level] -end - -- make the define flag -- eg. -- add_defines("MACRO") -> --pd "MACRO SETA 1 -- cgit v1.3.1