summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/sdcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-26 23:06:48 +0800
committerruki <[email protected]>2021-10-26 23:06:48 +0800
commitf818c0d180bd0e19070dbe03e0cbc1405712b2ed (patch)
tree64ebcbe224125fb7ab08a350031e7d07a2f17804 /xmake/modules/core/tools/sdcc.lua
parent59a6225f09410e8e4cdadd224e31f92d575537e3 (diff)
impl armcc and armasm
Diffstat (limited to 'xmake/modules/core/tools/sdcc.lua')
-rw-r--r--xmake/modules/core/tools/sdcc.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/sdcc.lua b/xmake/modules/core/tools/sdcc.lua
index 82d6cd78a..0153ed652 100644
--- a/xmake/modules/core/tools/sdcc.lua
+++ b/xmake/modules/core/tools/sdcc.lua
@@ -126,11 +126,12 @@ function nf_language(self, stdname)
if self:has_flags(v, "cxflags") then
result = v
maps[stdname] = result
- break
+ return result
end
end
+ else
+ return result
end
- return result
end
-- make the define flag