summaryrefslogtreecommitdiff
path: root/xmake/modules/private/tools/gcc/parse_deps.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-12-25 23:16:30 +0800
committerruki <[email protected]>2019-12-25 13:39:05 +0800
commit7c40738d8d1bc95fbb6c79ca267206502e9afdd7 (patch)
treebb00caf318a0691a02f9b07e2a205da4300646a9 /xmake/modules/private/tools/gcc/parse_deps.lua
parent04e13262c4e18ec1832bb992c481350ad6f19e39 (diff)
enable deps for gcc/asm
Diffstat (limited to 'xmake/modules/private/tools/gcc/parse_deps.lua')
-rw-r--r--xmake/modules/private/tools/gcc/parse_deps.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/tools/gcc/parse_deps.lua b/xmake/modules/private/tools/gcc/parse_deps.lua
index f24084439..a7e10a45e 100644
--- a/xmake/modules/private/tools/gcc/parse_deps.lua
+++ b/xmake/modules/private/tools/gcc/parse_deps.lua
@@ -56,8 +56,8 @@ end
--
function main(depsfile)
+ -- get deps data
local depsdata = io.readfile(depsfile, { continuation = "\\"})
- -- check
if not depsdata or #depsdata == 0 then
return {}
end