diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-08 21:16:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-08 21:16:36 +0000 |
commit | 750f865355947c40a4b93cd7a5db23eebc4e5080 (patch) | |
tree | d09084ef3a0baa1b4e6adbdbb4e85abc21f6650f /media-libs/mesa/mesa-9999.ebuild | |
parent | c51985271f4c8e0bc79728c6cecf15d6b6515914 (diff) |
gentoo auto-resync : 08:12:2022 - 21:16:36
Diffstat (limited to 'media-libs/mesa/mesa-9999.ebuild')
-rw-r--r-- | media-libs/mesa/mesa-9999.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index e121c4c2f319..f39169af89a2 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -410,6 +410,15 @@ multilib_src_configure() { use vulkan-overlay && vulkan_layers+=",overlay" emesonargs+=(-Dvulkan-layers=${vulkan_layers#,}) + # In LLVM 16, we've switched to building LLVM with EH/RTTI disabled + # to match upstream defaults. Mesa requires being built the same way. + # https://bugs.gentoo.org/883955 + if [[ ${LLVM_SLOT} -ge 16 ]]; then + emesonargs+=( + -Dcpp_rtti=false + ) + fi + emesonargs+=( $(meson_use test build-tests) -Dglx=$(usex X dri disabled) |