diff options
| author | ruki <[email protected]> | 2021-10-26 22:14:14 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-26 22:14:14 +0800 |
| commit | 1115732be0fb8f1eb24b37d39b22dc187ed9062f (patch) | |
| tree | f6c06f01cac654338f0d6110e6c3665b23adcb72 /xmake/modules/core/tools/sdcc.lua | |
| parent | df89676a5a905ced4cae2be987742c1d4d91c563 (diff) | |
| parent | 63c46927a81593033193b12bbf3a72db5c9726dd (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.lua | 5 |
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 |
