From f818c0d180bd0e19070dbe03e0cbc1405712b2ed Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 26 Oct 2021 23:06:48 +0800 Subject: impl armcc and armasm --- xmake/modules/core/tools/sdcc.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xmake/modules/core/tools/sdcc.lua') 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 -- cgit v1.3.1