summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/link.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/link.lua')
-rw-r--r--xmake/modules/core/tools/link.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/link.lua b/xmake/modules/core/tools/link.lua
index b9f71c7b1..9493c9933 100644
--- a/xmake/modules/core/tools/link.lua
+++ b/xmake/modules/core/tools/link.lua
@@ -54,7 +54,7 @@ end
function get(self, name)
local values = _g[name]
if name == "ldflags" or name == "arflags" or name == "shflags" then
- -- switch architecture, @note does cache it in init()
+ -- switch architecture, @note does cache it in init() for generating vs201x project
values = table.join(values, "-machine:" .. (config.arch() or "x86"))
end
return _g[name]