summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/detect/tools/find_gcc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/tools/find_gcc.lua b/xmake/modules/detect/tools/find_gcc.lua
index fc961e65e..17d548805 100644
--- a/xmake/modules/detect/tools/find_gcc.lua
+++ b/xmake/modules/detect/tools/find_gcc.lua
@@ -65,6 +65,7 @@ function _check_gcc(program, opt)
end
end
end
+ end
return os.runv(program, {"--version"}, {envs = opt.envs, shell = opt.shell})
end