diff options
| author | ruki <[email protected]> | 2021-10-10 22:39:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-10 22:39:04 +0800 |
| commit | f7d079c1a5eef8d875b25e383132e6c114b7e48a (patch) | |
| tree | e87d40d3a4f663cf91a5da47bc3fee23fad0bd16 | |
| parent | b14cd48bebe5e86e676c94ff74776100f08f2823 (diff) | |
fix languages
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 6181af7d9..9e9f38ab8 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -247,7 +247,7 @@ function nf_language(self, stdname) if self:has_flags(v, "cxflags") then result = v maps[stdname] = result - break + return result end end else diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index b9447a151..49998fec6 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -226,7 +226,7 @@ function nf_language(self, stdname) if self:has_flags(v, "cxflags") then result = v maps[stdname] = result - break + return result end end else |
