diff options
| author | ruki <[email protected]> | 2020-05-20 00:30:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-19 21:02:23 +0800 |
| commit | 04493b00d03e87e3c2af7d9f58bb43edb77eb410 (patch) | |
| tree | eb0a7b5ecb9369cc1d7b67b8a7c1008492d7e974 /xmake/core/platform/platform.lua | |
| parent | 86598231b463786d3a20bdb267e54f352f3c1b63 (diff) | |
add cross and llvm toolchains
Diffstat (limited to 'xmake/core/platform/platform.lua')
| -rw-r--r-- | xmake/core/platform/platform.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua index 3e3b537d1..1ca688636 100644 --- a/xmake/core/platform/platform.lua +++ b/xmake/core/platform/platform.lua @@ -110,8 +110,7 @@ function _instance:toolchains() local names = {} if config.get("toolchain") then table.insert(names, config.get("toolchain")) - end - if self._INFO:get("toolchains") then + elseif self._INFO:get("toolchains") then table.join2(names, self._INFO:get("toolchains")) end toolchains = {} |
