diff options
| author | ruki <[email protected]> | 2017-07-10 21:34:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-10 21:34:02 +0800 |
| commit | 03420ca44581f299a48935ca60af4824575cd9c1 (patch) | |
| tree | b4644e07c92e62b973d15f3f0d3e0ee41f95446e /xmake/core/tool/tool.lua | |
| parent | def23a930fc3780e54b2a8a6fc60854d2e193000 (diff) | |
add has_features and features for compiler
Diffstat (limited to 'xmake/core/tool/tool.lua')
| -rw-r--r-- | xmake/core/tool/tool.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua index 67c95cc24..639306bc8 100644 --- a/xmake/core/tool/tool.lua +++ b/xmake/core/tool/tool.lua @@ -92,7 +92,7 @@ function _instance:has_flags(flag) self._has_flags = self._has_flags or import("lib.detect.has_flags") -- has flags? - return self._has_flags(self:name(), flag, {program = self:program()}) + return self._has_flags(self:name(), flag, {program = self:program(), toolkind = self:kind()}) end -- load the given tool from the given kind |
