diff options
| author | Saikari <[email protected]> | 2026-02-17 23:18:58 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-17 23:18:58 +0300 |
| commit | 4879e24c27f481a3b2341f8be0f553030da98e0d (patch) | |
| tree | 0d384b312db0b9fa5bc0892d1a30c50780c6dc69 | |
| parent | 1e2596cb6983378a8add754901f613d180c644fc (diff) | |
retry
| -rw-r--r-- | xmake/modules/detect/tools/find_gcc.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_gcc.lua b/xmake/modules/detect/tools/find_gcc.lua index a4e0782e7..e785af2ad 100644 --- a/xmake/modules/detect/tools/find_gcc.lua +++ b/xmake/modules/detect/tools/find_gcc.lua @@ -22,7 +22,9 @@ import("lib.detect.find_program") import("lib.detect.find_programver") import("core.cache.detectcache") -import("core.base.winos") +if is_host("windows") then + import("core.base.winos") +end -- check gigabyte gcc function _check_gigabyte_gcc(program, opt) |
