# HG changeset patch # User John W. Eaton # Date 1507208235 14400 # Node ID d50a2adc8d751cc119b4c0eb9b420018bf189326 # Parent 8f9bee27223f4f120a0cb8a16c7cfc0cbf2e233d mesa: don't force static libstdc++ or libgcc. diff -r 8f9bee27223f -r d50a2adc8d75 dist-files.mk --- a/dist-files.mk Thu Oct 05 10:44:53 2017 -0400 +++ b/dist-files.mk Thu Oct 05 08:57:15 2017 -0400 @@ -311,6 +311,7 @@ lzo.mk \ matio.mk \ mdbtools.mk \ + mesa-1-fixes.patch \ mesa.mk \ mingw-cairo-1-ssize-t-defined.patch \ mingw-cfitsio-1-fixes.patch \ diff -r 8f9bee27223f -r d50a2adc8d75 src/mesa-1-fixes.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/mesa-1-fixes.patch Thu Oct 05 08:57:15 2017 -0400 @@ -0,0 +1,13 @@ +diff -uNr a/scons/gallium.py b/scons/gallium.py +--- a/scons/gallium.py 2017-09-17 19:03:22.000000000 -0400 ++++ b/scons/gallium.py 2017-10-04 19:24:29.499373623 -0400 +@@ -580,9 +580,6 @@ + '-Wl,--dynamicbase', # ASLR + ] + # Avoid depending on gcc runtime DLLs +- linkflags += ['-static-libgcc'] +- if 'w64' in env['CC'].split('-'): +- linkflags += ['-static-libstdc++'] + # Handle the @xx symbol munging of DLL exports + shlinkflags += ['-Wl,--enable-stdcall-fixup'] + #shlinkflags += ['-Wl,--kill-at']