diff options
| author | ruki <[email protected]> | 2024-08-24 07:22:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-24 07:22:42 +0800 |
| commit | c80898e12f88abe7df463bc64e0fb6bf081b8cdf (patch) | |
| tree | 778fc24c5ff2207419f0f06c60fff46b67739d03 /xmake/core/tool/builder.lua | |
| parent | 3ba77c15ccf34187b6678f277f2dd418433493c8 (diff) | |
| parent | d19c47eac0a44b0bfbbf2e4ce7cf98713720a245 (diff) | |
Merge pull request #5466 from xmake-io/toolchain
Improve to check and load toolchain
Diffstat (limited to 'xmake/core/tool/builder.lua')
| -rw-r--r-- | xmake/core/tool/builder.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua index 92a17b68b..54652326d 100644 --- a/xmake/core/tool/builder.lua +++ b/xmake/core/tool/builder.lua @@ -309,6 +309,9 @@ function builder:_add_flags_from_argument(flags, target, args) return values, extras end, toolchain = function (name) + if target and target.toolconfig then + return target:toolconfig(name) + end local plat, arch if target and target.plat then plat = target:plat() |
