summaryrefslogtreecommitdiff
path: root/xmake/tools/make.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/tools/make.lua')
-rw-r--r--xmake/tools/make.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/tools/make.lua b/xmake/tools/make.lua
index 2785eaf73..a95685478 100644
--- a/xmake/tools/make.lua
+++ b/xmake/tools/make.lua
@@ -86,7 +86,7 @@ end
function check(flags)
-- make an empty makefile
- local tmpfile = os.tmpfile()
+ local tmpfile = path.join(os.tmpdir(), "xmake.checker.make")
io.write(tmpfile, "all:\n")
-- check it