summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-04-25 22:40:45 +0800
committerruki <[email protected]>2023-04-25 22:40:45 +0800
commit8b0dd0af6d17b5b8aca36ff64c062fe567ac8ca4 (patch)
treedf02572439ef02978330221d3279caf6b3ea4b0a
parentcba6838a760e25a8c372ce5e547cd6691eb9ef61 (diff)
remove optimize for armasm
-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