view src/mesa-1-fixes.patch @ 4946:a99cf8dbe52d

mesa: Update to v18.2.8 * src/mesa.mk: Update version and checksum. Also install headers in KHR. * src/mesa-1-fixes.patch: Remove logic because we build g++ with pthreads. * src/mesa-proto.mk: Also install headers in KHR.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 21 Jan 2019 19:35:27 +0100
parents a50783d698b2
children c0d7569adb6c
line wrap: on
line source

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']
diff -uNr a/scons/llvm.py b/scons/llvm.py
--- a/scons/llvm.py	2018-12-27 17:02:01.000000000 +0100
+++ b/scons/llvm.py	2019-01-21 18:47:28.456846140 +0100
@@ -122,10 +122,7 @@
                 'LLVMIRReader', 'LLVMAsmParser',
                 'LLVMDemangle', 'LLVMGlobalISel', 'LLVMDebugInfoMSF',
                 'LLVMBinaryFormat',
+                'version', 'uuid', 'ole32', 'oleaut32', 'z',
             ])
-            if env['platform'] == 'windows' and env['crosscompile']:
-                # LLVM 5.0 requires MinGW w/ pthreads due to use of std::thread and friends.
-                assert env['gcc']
-                env['CXX'] = env['CXX'] + '-posix'
         elif llvm_version >= distutils.version.LooseVersion('4.0'):
             env.Prepend(LIBS = [