summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-17 20:02:00 +0800
committerruki <[email protected]>2017-02-17 20:02:00 +0800
commit6fcb7f953c4c397b7e08bf577f37195508663260 (patch)
tree72d63622b2c4a84079d88c3d2f40aab86f032156 /xmake/core/tool/builder.lua
parentbd54ed5a6c59f75ad768d4d37843262314dd1aa1 (diff)
build go project ok
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index f8edcd12d..f1335df68 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -52,6 +52,13 @@ function builder:_nameflags()
return self._NAMEFLAGS
end
+-- get the target kind
+function builder:_targetkind()
+
+ -- get it
+ return self._TARGETKIND
+end
+
-- map gcc flag to the given builder flag
function builder:_mapflag(flag, mapflags)