view src/mingw-osmesa-1-fixes.patch @ 3808:c7c1065c12e0

pthreads: use mingw-w64 threads * src/pthreads.mk: use pthreads from mingw-w64 source tree * src/pthreads-1-fixes.patch: removed * dist-files.mk: remove pthreads-1-fixes.patch
author John Donoghue
date Wed, 25 Feb 2015 13:18:35 -0500
parents a169ad26bac2
children 4f586cfb8438
line wrap: on
line source

diff -uNr a/scons/gallium.py b/scons/gallium.py
--- a/scons/gallium.py	2014-06-25 00:33:39.000000000 -0400
+++ b/scons/gallium.py	2015-02-15 12:07:49.271713764 -0500
@@ -529,10 +529,6 @@
         else:
             env['_LIBFLAGS'] = '-Wl,--start-group ' + env['_LIBFLAGS'] + ' -Wl,--end-group'
         if env['platform'] == 'windows':
-            # 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']