projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3276c3d
)
scons: Use -static-libstdc++ on 32bits builds w/ Mingw-w64 too.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 3 Nov 2011 09:58:52 +0000
(09:58 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 3 Nov 2011 09:59:34 +0000
(09:59 +0000)
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index c3350b3ca635b3c495809a7a24ee4b9009b1e3c8..18be73f769f5df0f871df5b5cfdaf8740e84ebd6 100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-540,7
+540,7
@@
def generate(env):
if env['platform'] == 'windows':
# Avoid depending on gcc runtime DLLs
linkflags += ['-static-libgcc']
- if
env['machine'] == 'x86_64'
:
+ if
'w64' in env['CC'].split('-')
:
linkflags += ['-static-libstdc++']
# Handle the @xx symbol munging of DLL exports
shlinkflags += ['-Wl,--enable-stdcall-fixup']