summaryrefslogtreecommitdiff
path: root/xmake/core/language/language.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/language/language.lua')
-rw-r--r--xmake/core/language/language.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/language/language.lua b/xmake/core/language/language.lua
index bf2a8517f..bf33b211a 100644
--- a/xmake/core/language/language.lua
+++ b/xmake/core/language/language.lua
@@ -176,7 +176,7 @@ function _instance:namedflags()
end
-- insert this flag info
- table.insert(toolinfo, {flagname, checkstate})
+ table.insert(toolinfo, {flagscope, flagname, checkstate})
end
-- save this tool info