diff options
| author | ruki <[email protected]> | 2016-07-14 10:18:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-07-14 10:18:15 +0800 |
| commit | 25258cd84ae333017aa720b2b8bc2b5d8b67800d (patch) | |
| tree | 3ae6a1fd153888aa0d2a05c18a126e45fead1227 | |
| parent | 68b7f69d0c71bda1a4c51fb44cca73ce5a2b9dab (diff) | |
ignore as codes for checking includes
| -rwxr-xr-x | xmake/tools/gcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
