summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-22 11:25:17 +0800
committerruki <[email protected]>2017-06-22 11:25:17 +0800
commit0e728f8f990f61d2f31f53f346a64b9b2edd70e1 (patch)
tree4103de653839a131a398c60ba33b9df3d248e13e /xmake/core/tool/builder.lua
parent86d00a68e3c5126140153ac2dcb0c5265b9db1d6 (diff)
fix builder has_flags bug
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index d62eb4d1b..53d658c8c 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -292,7 +292,7 @@ end
-- has flags?
function builder:has_flags(flags)
- return self:_tool():has_flags(name)
+ return self:_tool():has_flags(flags)
end
-- get the format of the given target kind