summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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