diff options
Diffstat (limited to 'xmake/scripts/base/config.lua')
| -rw-r--r-- | xmake/scripts/base/config.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/scripts/base/config.lua b/xmake/scripts/base/config.lua index 6eb0b242c..877f7d026 100644 --- a/xmake/scripts/base/config.lua +++ b/xmake/scripts/base/config.lua @@ -300,11 +300,13 @@ function config.loadxconf() -- clear configs if the host has been changed local target = config._target() if target and target.host ~= xmake._HOST then + -- clear configs config._CONFIGS = {} end -- clear configs if the plat has been changed if target and target.plat and options.plat and target.plat ~= options.plat then + -- clear configs config._CONFIGS = {} end end |
