summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-06-01 22:51:02 +0800
committerruki <[email protected]>2020-06-01 11:06:17 +0800
commitc9c6aec399bbf0e069f2e5ca2c6596bfb0b80e83 (patch)
tree5331fc8ba509fbd723deedcc7c8865c6b3eec71c
parentea6324eace5e6836e367c4f4f2818a10026d3716 (diff)
fix yasm arch
-rw-r--r--xmake/toolchains/yasm/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/yasm/xmake.lua b/xmake/toolchains/yasm/xmake.lua
index 0d603e94d..123895608 100644
--- a/xmake/toolchains/yasm/xmake.lua
+++ b/xmake/toolchains/yasm/xmake.lua
@@ -35,6 +35,6 @@ toolchain("yasm")
elseif is_plat("linux", "bsd") then
toolchain:add("yasm.asflags", "-f", is_arch("x86_64") and "elf64" or "elf32")
elseif is_plat("windows", "mingw", "msys", "cygwin") then
- toolchain:add("yasm.asflags", "-f", is_arch("x64") and "win64" or "win32")
+ toolchain:add("yasm.asflags", "-f", is_arch("x86_64", "x64") and "win64" or "win32")
end
end)