summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorntoskrnl <ntoskrnl11@yahoo.com>2012-07-29 17:33:01 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-02 14:21:31 (GMT)
commit4343faa10fd46744430e28126d33a7a3a0b3b6e1 (patch)
treee48dcb5676bcb25332693acce05e78a781e3e8b1 /SConscript
parentf94fabd999c304de958cc051e9625f169cec138f (diff)
downloadpowder-4343faa10fd46744430e28126d33a7a3a0b3b6e1.zip
powder-4343faa10fd46744430e28126d33a7a3a0b3b6e1.tar.gz
Some modifications for WIN64. SConscript not ready for that yet.
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConscript b/SConscript
index e7fb88a..e00c2f9 100644
--- a/SConscript
+++ b/SConscript
@@ -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')