summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-11-03 09:58:52 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-11-03 09:59:34 +0000
commit97213fd7417bae8ef65cd3a30c26968a45a6df94 (patch)
tree95482b9c18a3355510cf7ec15e2807732ee6c8ce /scons/gallium.py
parent3276c3d42b64b4feffe9293bbc63e161b1e522d7 (diff)
scons: Use -static-libstdc++ on 32bits builds w/ Mingw-w64 too.
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-xscons/gallium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index c3350b3ca63..18be73f769f 100755
--- 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']