diff options
| -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 201ba5517..9e1fad15b 100755 --- a/xmake/tools/gcc.lua +++ b/xmake/tools/gcc.lua @@ -184,7 +184,7 @@ function check(flags) -- make an stub source file local objectfile = os.tmpfile() .. ".o" - local sourcefile = os.tmpfile() .. ".c" .. ifelse(_g.kind == "cxx", "pp", "")) + local sourcefile = os.tmpfile() .. ".c" .. ifelse(_g.kind == "cxx", "pp", "") -- make stub code io.write(sourcefile, "int main(int argc, char** argv)\n{return 0;}") |
