diff options
| -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() |
