diff options
Diffstat (limited to 'xmake/core/tool/compiler.lua')
| -rw-r--r-- | xmake/core/tool/compiler.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua index 6e7e5d8e6..61cfd2114 100644 --- a/xmake/core/tool/compiler.lua +++ b/xmake/core/tool/compiler.lua @@ -136,8 +136,8 @@ function compiler.load(sourcekind) end instance._LANGUAGE = result - -- init named flags - instance._NAMEDFLAGS = result:namedflags()["compiler"] + -- init name flags + instance._NAMEFLAGS = result:nameflags()["compiler"] -- init source flags instance._SOURCEFLAGS = table.wrap(result:sourceflags()[sourcekind]) |
