From 0594b7cddec091cc9b91e06cf2ee61e4e671b595 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 10 Oct 2021 21:33:03 +0800 Subject: fix languages --- xmake/modules/core/tools/cl.lua | 3 ++- xmake/modules/core/tools/gcc.lua | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index efea29a14..6181af7d9 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -250,8 +250,9 @@ function nf_language(self, stdname) break end end + else + return result end - return result end -- make the define flag diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 99938e59a..b9447a151 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -229,8 +229,9 @@ function nf_language(self, stdname) break end end + else + return result end - return result end -- make the define flag -- cgit v1.3.1