summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/config.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-05 23:29:53 +0800
committerruki <[email protected]>2015-12-05 23:29:53 +0800
commit55baf72274c1aeefceb125f49a4da77e1d49bf40 (patch)
tree47c62985a6f4b535984d1fd58fc152610cd90364 /xmake/scripts/base/config.lua
parent82fc443c84a02c7cf19248c5f9a70ef9f3a2032f (diff)
add warning for matching files
Diffstat (limited to 'xmake/scripts/base/config.lua')
-rw-r--r--xmake/scripts/base/config.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/base/config.lua b/xmake/scripts/base/config.lua
index 1da6ebbca..3cea6a652 100644
--- a/xmake/scripts/base/config.lua
+++ b/xmake/scripts/base/config.lua
@@ -229,8 +229,8 @@ function config.load()
-- make the current target configs
local current = config._make(configs)
- -- clear configs and mark as "rebuild" and "reconfig" if the host has been changed
- if current and current.host ~= xmake._HOST then
+ -- clear configs and mark as "rebuild" and "reconfig" if the host has been changed
+ if (current and current.host ~= xmake._HOST) then
-- clear configs and mark as "rebuild"
config._CONFIGS = { __rebuild = true }