Module: Mesa Branch: master Commit: 5a743d9c513e6a36612872f270ea97b269451280 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a743d9c513e6a36612872f270ea97b269451280
Author: José Fonseca <jfons...@vmware.com> Date: Wed Feb 3 22:53:03 2010 +0000 scons: Have MinGW target MSVCRT 7.0 Necessary for _aligned_malloc/free(). --- scons/crossmingw.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scons/crossmingw.py b/scons/crossmingw.py index 9cb0b89..a4ae74e 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']) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit