diff options
| author | ntoskrnl <ntoskrnl11@yahoo.com> | 2012-08-01 19:28:43 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-02 14:21:43 (GMT) |
| commit | 18bf7ce155ebabc8bea89f44841ea58708bb98c1 (patch) | |
| tree | 3f4522fbde4cfbfe269aff1d35d192228f318a4b /SConscript | |
| parent | 4343faa10fd46744430e28126d33a7a3a0b3b6e1 (diff) | |
| download | powder-18bf7ce155ebabc8bea89f44841ea58708bb98c1.zip powder-18bf7ce155ebabc8bea89f44841ea58708bb98c1.tar.gz | |
Build fixes for WIN64
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -114,7 +114,10 @@ if(GetOption('win')): env.Append(LIBS=['winmm', 'gdi32']) env.Append(CPPDEFINES=["WIN"]) env.Append(LINKFLAGS=['-mwindows']) -if(GetOption('lin'): + if(GetOption('_64bit')): + env.Append(CPPDEFINES=['__CRT__NO_INLINE']) + env.Append(LINKFLAGS=['-Wl,--stack=16777216']) +if(GetOption('lin')): openGLLibs = ['GL'] env.Append(LIBS=['X11', 'rt']) env.Append(CPPDEFINES=["LIN"]) |
