diff options
| -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 |
