diff options
| author | ruki <[email protected]> | 2026-04-07 23:39:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-04-07 23:39:20 +0800 |
| commit | 59c749bda81f4c0a99d41ee31adfbf931cd578f2 (patch) | |
| tree | d08a14f5acdab2bdc711596c9f857098337b716b /xmake/modules/core/tools/gcc.lua | |
| parent | 4a13e671f0ba99feca8daf4a1706e9bcb4ccfa67 (diff) | |
add utils.checker
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index d390d8884..43d51a1e1 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -31,6 +31,7 @@ import("core.project.project") import("core.language.language") import("utils.progress") import("private.cache.build_cache") +import("utils.checker") import("private.service.distcc_build.client", {alias = "distcc_build_client"}) import("rules.c++.modules.support", {rootdir = os.programdir()}) @@ -76,7 +77,7 @@ end -- is syntax check enabled? function _is_syntax_check() - return memcache.get("syntax_check", "enabled") or false + return checker.is_running("syntax") end -- get `-MMD -MF depfile.d` flags, some old gcc does not support it at same time |
