Some modifications for WIN64. SConscript not ready for that yet.

This commit is contained in:
ntoskrnl
2012-07-29 20:33:01 +03:00
committed by Simon Robertshaw
parent f94fabd999
commit 4343faa10f
2 changed files with 9 additions and 3 deletions

View File

@@ -119,13 +119,15 @@ if(GetOption('lin'):
env.Append(LIBS=['X11', 'rt'])
env.Append(CPPDEFINES=["LIN"])
if GetOption('_64bit'):
env.Append(CPPDEFINES=["_64BIT"])
env.Append(LINKFAGS=['-m64'])
env.Append(CCFLAGS=['-m64'])
else:
env.Append(LINKFLAGS=['-m32'])
env.Append(CCFLAGS=['-m32'])
if GetOption('_64bit'):
env.Append(CPPDEFINES=["_64BIT"])
if(GetOption('beta')):
env.Append(CPPDEFINES='BETA')