diff options
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 10ac810f3..4ca8a717c 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -987,7 +987,8 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) -- generate the dependent includes if depfile and os.isfile(depfile) then if dependinfo then - dependinfo.depfiles_gcc = io.readfile(depfile, {continuation = "\\"}) + dependinfo.depfiles_format = "gcc" + dependinfo.depfiles = io.readfile(depfile, {continuation = "\\"}) end -- remove the temporary dependent file |
