diff options
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 828380c15..93525848f 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -721,13 +721,6 @@ function _compargv_pch(self, pcheaderfile, pcoutputfile, flags) return self:program(), table.join("-c", pchflags, "-o", pcoutputfile, pcheaderfile) end --- get modules cache directory -function _modules_cachedir(target) - if target and target.autogendir and target:data("cxx.has_modules") then -- we need to ignore option instance - return path.join(target:autogendir(), "rules", "modules", "cache") - end -end - -- make the compile arguments list function compargv(self, sourcefile, objectfile, flags) -- precompiled header? @@ -831,7 +824,6 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) if depfile and os.isfile(depfile) then if dependinfo then dependinfo.depfiles_gcc = io.readfile(depfile, {continuation = "\\"}) - dependinfo.modules_cachedir = _modules_cachedir(opt.target) end -- remove the temporary dependent file |
