summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-02-18 00:13:07 +0300
committerSaikari <[email protected]>2026-02-18 00:13:07 +0300
commit4ab3a066e0777f784eabeb103b4137b0bffcdacf (patch)
treed07b13517c98b5d6b9491f2408a8380ff531c5b3
parent39aa24a3192deb910a4b19b67a7e0178eb0f3f4a (diff)
sigh
-rw-r--r--xmake/modules/detect/tools/find_gcc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/detect/tools/find_gcc.lua b/xmake/modules/detect/tools/find_gcc.lua
index 296008e3d..2bfe53bc4 100644
--- a/xmake/modules/detect/tools/find_gcc.lua
+++ b/xmake/modules/detect/tools/find_gcc.lua
@@ -24,7 +24,7 @@ import("lib.detect.find_programver")
import("core.cache.detectcache")
-- check gigabyte gcc
-function _check_gigabyte_gcc(program, opt)
+function _check_gcc(program, opt)
-- avoid gcc.exe signed by GIGA-BYTE ref: https://github.com/xmake-io/xmake/issues/5629
if is_host("windows") or is_subhost("msys", "cygwin") then
local is_gigabyte = false
@@ -104,7 +104,7 @@ function main(opt)
-- save the original check
opt.check_gcc = opt.check
if is_host("windows") then
- opt.check = _check_gigabyte_gcc
+ opt.check = _check_gcc
else
opt.norunfile = true
end