summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/link.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-24 22:44:02 +0800
committerruki <[email protected]>2018-04-24 10:24:14 +0800
commitc3d4cf3f4a994897cf95a9c0c8f9800dc32f2371 (patch)
treec2a957a8c682191bb3197acaa4d6789deda1b6ea /xmake/modules/core/tools/link.lua
parentacbc2ca57ef9282223cf38114e1a7a00d4283dc5 (diff)
add yasm
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]