summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/tcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-11 00:33:37 +0800
committerruki <[email protected]>2023-01-11 00:33:37 +0800
commitc90409cf2bfca2531e27d32c6c79c8a151c04510 (patch)
treec736bbb03d9748efd09db929d72847d9a785af88 /xmake/modules/core/tools/tcc.lua
parent4dcacbb3d778002d4b8604d016b07c17d6ec23dc (diff)
fix defines with space #3271
Diffstat (limited to 'xmake/modules/core/tools/tcc.lua')
-rw-r--r--xmake/modules/core/tools/tcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/tcc.lua b/xmake/modules/core/tools/tcc.lua
index fc4d7b5e6..84eae246d 100644
--- a/xmake/modules/core/tools/tcc.lua
+++ b/xmake/modules/core/tools/tcc.lua
@@ -86,7 +86,7 @@ end
-- make the define flag
function nf_define(self, macro)
- return "-D" .. macro
+ return {"-D" .. macro}
end
-- make the undefine flag