mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2024-11-27 06:08:57 +00:00
16691125d7
gpkg/libwayland gpkg/libwayland-protocols gpkg/vulkan-tools gpkg/mesa-demos gpkg/opengl gpkg/freeglut gpkg/glu gpkg/glslang gpkg/spirv-tools gpkg/spirv-headers gpkg/glmark2 gpkg/vkmark gpkg/glm gpkg/xcb-util-wm gpkg/assimp gpkg/alsa-lib gpkg/libomxil-bellagio gpkg/libva gpkg/libvdpau gpkg/vulkan-volk gpkg/libepoxy gpkg/libclc gpkg/spirv-llvm-translator Co-authored-by: Maxython <mixython@gmail.com>
17 lines
934 B
Diff
17 lines
934 B
Diff
--- src/meson.build 2024-01-20 12:22:08.339393023 +0300
|
|
+++ src/meson.build.patch 2024-01-21 13:39:04.387288980 +0300
|
|
@@ -1742,12 +1742,7 @@
|
|
# programs, so we need to build all C++ code in mesa without rtti as well to
|
|
# ensure that linking works. Note that Win32 compilers does handle mismatching RTTI
|
|
# without issues, so only apply this for other compilers.
|
|
- if dep_llvm.type_name() == 'internal'
|
|
- _llvm_rtti = subproject('llvm').get_variable('has_rtti', true)
|
|
- else
|
|
- # The CMake finder will return 'ON', the llvm-config will return 'YES'
|
|
- _llvm_rtti = ['ON', 'YES'].contains(dep_llvm.get_variable(cmake : 'LLVM_ENABLE_RTTI', configtool: 'has-rtti'))
|
|
- endif
|
|
+ _llvm_rtti = true
|
|
if _rtti != _llvm_rtti
|
|
if _llvm_rtti
|
|
error('LLVM was built with RTTI, cannot build Mesa with RTTI disabled. Remove cpp_rtti disable switch or use LLVM built without LLVM_ENABLE_RTTI.')
|