diff options
| author | ruki <[email protected]> | 2019-12-25 23:16:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-12-25 13:39:05 +0800 |
| commit | 7c40738d8d1bc95fbb6c79ca267206502e9afdd7 (patch) | |
| tree | bb00caf318a0691a02f9b07e2a205da4300646a9 /xmake/modules/core/tools/gcc.lua | |
| parent | 04e13262c4e18ec1832bb992c481350ad6f19e39 (diff) | |
enable deps for gcc/asm
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 9127cac8d..8fb5a4d81 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -445,7 +445,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) -- generate the dependent includes if depfile and os.isfile(depfile) then - if dependinfo and self:kind() ~= "as" then + if dependinfo then local files = dependinfo.files or {} table.join2(files, parse_deps(depfile)) dependinfo.files = table.unique(files) |
