summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/core/tools/armasm_msvc.lua14
1 files changed, 0 insertions, 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