summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/sdcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-26 22:14:14 +0800
committerGitHub <[email protected]>2021-10-26 22:14:14 +0800
commit1115732be0fb8f1eb24b37d39b22dc187ed9062f (patch)
treef6c06f01cac654338f0d6110e6c3665b23adcb72 /xmake/modules/core/tools/sdcc.lua
parentdf89676a5a905ced4cae2be987742c1d4d91c563 (diff)
parent63c46927a81593033193b12bbf3a72db5c9726dd (diff)
Merge pull request #1773 from xmake-io/keil
Add armcc/armclang support for Keil/MDK
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