diff options
author | José Fonseca <[email protected]> | 2010-02-03 22:53:03 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-02-04 10:38:35 +0000 |
commit | 5a743d9c513e6a36612872f270ea97b269451280 (patch) | |
tree | 59cde0ffac517425186b83a1d89b2e6ea575a013 | |
parent | ef67ad05cb2a23e555cfbfc67faf435677fbcf73 (diff) |
scons: Have MinGW target MSVCRT 7.0
Necessary for _aligned_malloc/free().
-rw-r--r-- | scons/crossmingw.py | 1 |
1 files changed, 1 insertions, 0 deletions
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']) |