From 5a57f23ac573d1a6d123e55d84c0bd48e995089a Mon Sep 17 00:00:00 2001 From: mniip Date: Sat, 1 Jun 2013 19:55:10 +0400 Subject: [PATCH] some sconsript fixes --- SConscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SConscript b/SConscript index 69e510a4b..dd907ab6a 100755 --- a/SConscript +++ b/SConscript @@ -286,7 +286,7 @@ if(GetOption('rpi')): if(GetOption('win')): openGLLibs = ['opengl32', 'glew32'] - env.Prepend(LIBS=['mingw32', 'ws2_32', 'SDLmain', 'regex']) + env.Prepend(LIBS=['mingw32', 'ws2_32', 'SDLmain', 'SDL', 'regex']) env.Append(CCFLAGS=['-std=gnu++98']) env.Append(LIBS=['winmm', 'gdi32']) env.Append(CPPDEFINES=["WIN"]) @@ -488,7 +488,8 @@ else: # But we need 16 byte alignment so that SSE instructions in FFTW work without crashing if(GetOption('win')): envCopy = env.Clone() - envCopy.Append(CCFLAGS=['-mincoming-stack-boundary=2']) + envCopy.Append(CCFLAGS=['-mstackrealign']) + #envCopy.Append(CCFLAGS=['-mincoming-stack-boundary=2']) sources+=envCopy.Object('src/simulation/Gravity.cpp') # run generator commands