summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-29 15:30:04 +0800
committerruki <[email protected]>2023-01-29 15:30:04 +0800
commit74380c69eb70743b305caed208d42487967ae604 (patch)
treedaf5d145101b6cae7fbe7dff085756a1f8326d77 /xmake/modules
parentdd1e63c09b84c0fd0b886503da3cc468ef7ea0a5 (diff)
improve armasm
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/core/tools/armasm.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/xmake/modules/core/tools/armasm.lua b/xmake/modules/core/tools/armasm.lua
index 87268ea56..84c38b8c6 100644
--- a/xmake/modules/core/tools/armasm.lua
+++ b/xmake/modules/core/tools/armasm.lua
@@ -45,20 +45,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 runtime flag
function nf_runtime(self, runtime)
if runtime == "microlib" then