diff options
| author | ruki <[email protected]> | 2023-10-24 22:53:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-24 22:53:05 +0800 |
| commit | 66b43560f7cf25b20ecb78a85dc17fe1f975bb48 (patch) | |
| tree | 52e461ab60c8c76d6b5a8ae8a379121991573df9 /xmake/modules/core/tools/go.lua | |
| parent | 645d407a01aa69d35d5340c66f5e109583e4c427 (diff) | |
pass extras to tools
Diffstat (limited to 'xmake/modules/core/tools/go.lua')
| -rw-r--r-- | xmake/modules/core/tools/go.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/go.lua b/xmake/modules/core/tools/go.lua index 51f5709af..e7d660d75 100644 --- a/xmake/modules/core/tools/go.lua +++ b/xmake/modules/core/tools/go.lua @@ -42,8 +42,9 @@ function nf_optimize(self, level) end -- make the symbol flag -function nf_symbol(self, level, target, mapkind) - if mapkind ~= "object" then +function nf_symbol(self, level, opt) + local targetkind = opt.targetkind + if targetkind ~= "object" then return end local maps = { |
