diff options
| author | ruki <[email protected]> | 2022-05-19 23:20:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-19 23:20:40 +0800 |
| commit | 3024730a94c340390213c79dc6d810ece1e28500 (patch) | |
| tree | d48606f8c16fc85d680ef887c0f4cd7858da8c6a /xmake/modules/core/tools/gcc.lua | |
| parent | 5669a698e75cce650e4753d6203697423c2ec67e (diff) | |
remove logs
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 2c1e7f79b..8a6cc7b84 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -483,8 +483,7 @@ function _compile(self, sourcefile, objectfile, compflags, opt) local t = os.mclock() cppinfo = _preprocess(program, argv, {envs = self:runenvs(), tool = self}) if cppinfo then - local cachekey - cachekey = build_cache.cachekey(program, cppinfo.cppfile, cppinfo.cppflags, self:runenvs()) + local cachekey = build_cache.cachekey(program, cppinfo.cppfile, cppinfo.cppflags, self:runenvs()) local objectfile_cached = build_cache.get(cachekey) if objectfile_cached then os.cp(objectfile_cached, cppinfo.objectfile) |
