Recompiling sfml to static link to sndfile
===

I got sndfile to compile. I then switched out the lib which sfml links to with my static copy. Everything compiles fine. I then try to link sfml to my project in code blocks and I get an error about undefined reference to `__chkstk_ms'

Here is my full build log:

> -------------- Build: all in Ovgl ---------------
> 
> Using makefile: Makefile Linking CXX executable Ovgl.exe Warning:
> resolving _glewInit@0 by linking to _glewInit Use
> --enable-stdcall-fixup to disable these warnings Use --disable-stdcall-fixup to disable these fixups c:/progra~2/codebl~1/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:
> Dwarf Error: Offset (35480) greater than or equal to (null) size
> (4954657).
> C:\Users\Steven\Desktop\ovgl\src\.\..\dependencies\SFML\lib/libsfml-audio-s.a(wav.o):wav.c:(.text+0x26b):
> undefined reference to `__chkstk_ms' collect2: ld returned 1 exit
> status mingw32-make.exe[2]: *** [src/Ovgl.exe] Error 1
> mingw32-make.exe[1]: *** [src/CMakeFiles/Ovgl.dir/all] Error 2
> mingw32-make.exe: *** [all] Error 2 Creating library file:
> libOvgl.dll.a Process terminated with status 2 (1 minutes, 10 seconds)
> 1 errors, 1 warnings