summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)