diff options
| author | ruki <[email protected]> | 2022-10-25 22:50:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-10-25 22:50:44 +0800 |
| commit | 70c2712a6d3436e7611d8596809e36df518f746d (patch) | |
| tree | 98f6047aecb9ea629575e38633bac07102b3bb04 | |
| parent | 89b29a4cae29e6fa3f60a4b99e378e245d37215d (diff) | |
remove unused languages for armasm
| -rw-r--r-- | xmake/modules/core/tools/armasm.lua | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/xmake/modules/core/tools/armasm.lua b/xmake/modules/core/tools/armasm.lua index 765cdcdb4..87268ea56 100644 --- a/xmake/modules/core/tools/armasm.lua +++ b/xmake/modules/core/tools/armasm.lua @@ -59,39 +59,6 @@ function nf_optimize(self, level) return maps[level] end --- make the language flag -function nf_language(self, stdname) - - -- the stdc maps - if _g.cmaps == nil then - _g.cmaps = - { - ansi = "-c89" - , c89 = "-c89" - , gnu89 = "-c89" - , c99 = "-c99" - , gnu99 = "-c99" - , c11 = "-c11" - , gnu11 = "-c11" - , clatest = {"-c11", "-c99", "-c89"} - , gnulatest = {"-c11", "-c99", "-c89"} - } - end - local maps = _g.cmaps - local result = maps[stdname] - if type(result) == "table" then - for _, v in ipairs(result) do - if self:has_flags(v, "cxflags") then - result = v - maps[stdname] = result - return result - end - end - else - return result - end -end - -- make runtime flag function nf_runtime(self, runtime) if runtime == "microlib" then |
