From 25258cd84ae333017aa720b2b8bc2b5d8b67800d Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 14 Jul 2016 10:18:15 +0800 Subject: ignore as codes for checking includes --- xmake/tools/gcc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/tools/gcc.lua b/xmake/tools/gcc.lua index 2fedbca3a..54170a9a0 100755 --- a/xmake/tools/gcc.lua +++ b/xmake/tools/gcc.lua @@ -152,7 +152,7 @@ function compile(sourcefile, objectfile, incdepfile, flags) os.run(compcmd(sourcefile, objectfile, flags)) -- generate includes file - if incdepfile then + if incdepfile and _g.kind ~= "as" then -- the temporary file local tmpfile = os.tmpfile() -- cgit v1.3.1