summaryrefslogtreecommitdiff
path: root/xmake/core/platform/platform.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-13 22:48:36 +0800
committerruki <[email protected]>2018-11-13 10:51:40 +0800
commit7d234801498d6e272d780407695ebff89a64d675 (patch)
tree28313737e1c44c3d639fbf49ab05ed0bc68ec1d4 /xmake/core/platform/platform.lua
parentbcfe7b269dc8ccca180099c8ce62f333a405ed11 (diff)
improve compiler tools
Diffstat (limited to 'xmake/core/platform/platform.lua')
-rw-r--r--xmake/core/platform/platform.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua
index 325935a38..b5886dd42 100644
--- a/xmake/core/platform/platform.lua
+++ b/xmake/core/platform/platform.lua
@@ -58,13 +58,13 @@ end
-- set the value to the platform info
function _instance:set(name, ...)
- self._INFO[name] = table.unwrap(table.unique({...}))
+ self._INFO[name] = table.unwrap({...})
end
-- add the value to the platform info
function _instance:add(name, ...)
local info = table.wrap(self._INFO[name])
- self._INFO[name] = table.unwrap(table.unique(table.join(info, ...)))
+ self._INFO[name] = table.unwrap(table.join(info, ...))
end
-- get the platform configure