diff options
| author | ruki <[email protected]> | 2017-02-27 14:51:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-27 14:51:26 +0800 |
| commit | 65f49bd7b23dbbb2516b93518906f451cd35a7c0 (patch) | |
| tree | e489db5c253bf021b7d3a58c899a8d5bc793592e /xmake/core/tool/builder.lua | |
| parent | 7d1939d7dcc6f18f5cef9a4d443e44cfa4bdefa5 (diff) | |
rename go tool kind to gc
Diffstat (limited to 'xmake/core/tool/builder.lua')
| -rw-r--r-- | xmake/core/tool/builder.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua index 9fdb76ce1..de562593b 100644 --- a/xmake/core/tool/builder.lua +++ b/xmake/core/tool/builder.lua @@ -158,7 +158,7 @@ function builder:_addflags_from_platform(flags) -- add flags local toolkind = self:get("kind") for _, flagkind in ipairs(self:_flagkinds()) do - -- attempt to add special lanugage flags first, .e.g go-ldflags, dc-arflags + -- attempt to add special lanugage flags first, .e.g gc-ldflags, dc-arflags table.join2(flags, platform.get(toolkind .. 'flags') or platform.get(flagkind)) end end |
