2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 16:32:16 +00:00

/MACHINE option for x86 is /MACHINE:X86

This commit is contained in:
Giuseppe Corbelli
2016-06-24 11:31:04 +02:00
parent f7d7c54173
commit 7b7c4b85d5

View File

@@ -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: