diff options
| author | ruki <[email protected]> | 2022-05-15 22:33:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-15 22:33:37 +0800 |
| commit | 041c077d21b47bd5b6ce5bab60f36c44d71d355b (patch) | |
| tree | d6ae8170d9d8ba09073c0d5f8569c107d264d412 | |
| parent | e2e314e5f6082c026ca23547b5f96bf4ab5aabf1 (diff) | |
skip ccache
| -rw-r--r-- | xmake/modules/private/service/distcc_build/client_session.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/service/distcc_build/client_session.lua b/xmake/modules/private/service/distcc_build/client_session.lua index a5528ab9b..00f48b98a 100644 --- a/xmake/modules/private/service/distcc_build/client_session.lua +++ b/xmake/modules/private/service/distcc_build/client_session.lua @@ -93,7 +93,7 @@ function client_session:_gcc_iorunv(program, argv, opt) -- get flags and source file local flags = {} local cppflags = {} - local skipped = 0 + local skipped = program:endswith("cache") and 1 or 0 for _, flag in ipairs(argv) do if flag == "-o" then break |
