summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-18 23:24:21 +0800
committerruki <[email protected]>2021-02-18 23:24:21 +0800
commit16f8fb0248a252e185842ae2452975e6fd41aeb7 (patch)
tree7913faf4d3aee7e1137d46b4933c294fc22c9a9d
parent41540eae90c50b0251f161bdfe862d99ce0a2c21 (diff)
update tools/gcc
-rw-r--r--xmake/modules/core/tools/gcc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 24bb62e13..f2bb70f81 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -233,7 +233,7 @@ end
-- make the includedir flag
function nf_includedir(self, dir)
- return {"-I", path.translate(dir)}
+ return {"-I" .. path.translate(dir)}
end
-- make the sysincludedir flag
@@ -253,7 +253,7 @@ end
-- make the linkdir flag
function nf_linkdir(self, dir)
- return {"-L", path.translate(dir)}
+ return {"-L" .. path.translate(dir)}
end
-- make the rpathdir flag