summaryrefslogtreecommitdiff
path: root/xmake/core/tool/compiler.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-06 21:56:55 +0800
committerruki <[email protected]>2017-02-06 21:56:55 +0800
commite9aa23db2437faf17ca097e891ec5a1e628865f3 (patch)
tree9c6aa8f108f84ba07e5016796a28b7b8401e0ad8 /xmake/core/tool/compiler.lua
parent2c125229b2da9e9d854275ae08cd29ecf57a447d (diff)
modify linker script
Diffstat (limited to 'xmake/core/tool/compiler.lua')
-rw-r--r--xmake/core/tool/compiler.lua4
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])