Mercurial > mxe-octave
view src/mesa-1-fixes.patch @ 5495:fb50ae69121c
Add build rule for python3 (bug #58689).
* src/build-python3.mk: Add build rule for python3 version 3.8.3.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/build-setuptools.mk: Update to version 44.1.1 (last version compatible
with python2). Use python2. Set installation prefix.
* src/build-mako.mk: Use python2. Set installation prefix.
* src/build-markupsafe.mk: Use python2. Set installation prefix.
* src/mesa.mk: Windows rule depends on scons. Use python2.
* src/nsis.mk: Depend on scons. Use python2.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 05 Jul 2020 12:21:53 +0200 |
parents | 7f42b41d6021 |
children |
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 = [