projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0646246
)
scons: Set -static-libstdc++ on mingw-w64
author
José Fonseca
<jfonseca@vmware.com>
Tue, 6 Sep 2011 12:14:09 +0000
(13:14 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 6 Sep 2011 12:18:58 +0000
(13:18 +0100)
To avoid depending on libstdc++-xxx.dll
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index 5103b9248551aba126b9c0012dc52d1d00006f21..dc77904f06d2439f939ca6b6ce10b15a8566bfcd 100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-537,6
+537,8
@@
def generate(env):
if env['platform'] == 'windows':
# Avoid depending on gcc runtime DLLs
linkflags += ['-static-libgcc']
+ if env['machine'] == 'x86_64':
+ linkflags += ['-static-libstdc++']
# Handle the @xx symbol munging of DLL exports
shlinkflags += ['-Wl,--enable-stdcall-fixup']
#shlinkflags += ['-Wl,--kill-at']