From 7b7c4b85d578363adce1429cecfc05fbc3ab0493 Mon Sep 17 00:00:00 2001 From: Giuseppe Corbelli Date: Fri, 24 Jun 2016 11:31:04 +0200 Subject: [PATCH] /MACHINE option for x86 is /MACHINE:X86 --- config/toolchains/msvc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/toolchains/msvc.py b/config/toolchains/msvc.py index e2ff52fc..576ff819 100644 --- a/config/toolchains/msvc.py +++ b/config/toolchains/msvc.py @@ -18,7 +18,7 @@ class features: @staticmethod def architecture(env, arch): if arch: - flag = {'x86' : '/MACHINE:X32', + flag = {'x86' : '/MACHINE:X86', 'x86_64' : '/MACHINE:X64',}.get(arch) if flag: append_feature_flag(env, LINKFLAGS = flag) @@ -48,7 +48,7 @@ class features: #else: # append_feature_flag(env, CCFLAGS = "", LINKFLAGS = "") pass - + @staticmethod def debug(env, debug): #if debug: