projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef67ad0
)
scons: Have MinGW target MSVCRT 7.0
author
José Fonseca
<jfonseca@vmware.com>
Wed, 3 Feb 2010 22:53:03 +0000
(22:53 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 4 Feb 2010 10:38:35 +0000
(10:38 +0000)
Necessary for _aligned_malloc/free().
scons/crossmingw.py
patch
|
blob
|
history
diff --git
a/scons/crossmingw.py
b/scons/crossmingw.py
index 9cb0b89e3c7849539e05f48f010d0ae797c6b36d..a4ae74e8d5454e3fc729ffea864791fd6c04821a 100644
(file)
--- 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'])