diff options
| author | ruki <[email protected]> | 2022-05-20 21:05:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-20 21:05:11 +0800 |
| commit | 6fad9d40962d1c137d65394e99ea84acba5fe5cc (patch) | |
| tree | 17432ea4bc94db74b3eedbc9fd19d5492ea6d148 /xmake/modules/core/tools/gcc.lua | |
| parent | c3fd2dd9110aa41cd321d5e73823f57f2d25ff8c (diff) | |
ignore remote pdb
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 16c650768..af25a2d02 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -479,7 +479,8 @@ function _compile(self, sourcefile, objectfile, compflags, opt) local build_in_local local program, argv = compargv(self, sourcefile, objectfile, compflags) if distcc_build_client.is_distccjob() and distcc_build_client.singleton():has_freejobs() then - cppinfo, build_in_local = distcc_build_client.singleton():compile(program, argv, {envs = self:runenvs(), preprocess = _preprocess, tool = self}) + cppinfo, build_in_local = distcc_build_client.singleton():compile(program, argv, + {envs = self:runenvs(), preprocess = _preprocess, tool = self, remote = true}) if cppinfo and build_in_local then os.iorunv(program, table.join(cppinfo.cppflags, "-o", cppinfo.objectfile, cppinfo.cppfile), {envs = self:runenvs()}) if build_cache.is_enabled() and build_cache.is_supported(self:kind()) then |
