From: José Fonseca Date: Wed, 3 Feb 2010 22:53:03 +0000 (+0000) Subject: scons: Have MinGW target MSVCRT 7.0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a743d9c513e6a36612872f270ea97b269451280;p=mesa.git scons: Have MinGW target MSVCRT 7.0 Necessary for _aligned_malloc/free(). --- diff --git a/scons/crossmingw.py b/scons/crossmingw.py index 9cb0b89e3c7..a4ae74e8d54 100644 --- a/scons/crossmingw.py +++ b/scons/crossmingw.py @@ -177,6 +177,7 @@ def generate(env): # default in recent gcc versions env.AppendUnique(CFLAGS = ['-gstabs']) + env.AppendUnique(CPPDEFINES = [('__MSVCRT_VERSION__', '0x0700')]) #env.AppendUnique(LIBS = ['iberty']) env.AppendUnique(SHLINKFLAGS = ['-Wl,--enable-stdcall-fixup']) #env.AppendUnique(SHLINKFLAGS = ['-Wl,--kill-at'])