From 97213fd7417bae8ef65cd3a30c26968a45a6df94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 3 Nov 2011 09:58:52 +0000 Subject: [PATCH] scons: Use -static-libstdc++ on 32bits builds w/ Mingw-w64 too. --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- 2.30.2