From f8999218b5a6eafa151e7367030cbfdb69e045ed Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 May 2024 00:07:14 +0100 Subject: gentoo auto-resync : 25:05:2024 - 00:07:14 --- media-libs/mesa/mesa-9999.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'media-libs/mesa/mesa-9999.ebuild') diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index f9c4e1acfcbb..b5b9519bb96e 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -7,7 +7,7 @@ LLVM_COMPAT=( {15..17} ) LLVM_OPTIONAL=1 PYTHON_COMPAT=( python3_{10..12} ) -inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain +inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain toolchain-funcs MY_P="${P/_/-}" @@ -290,6 +290,9 @@ src_prepare() { multilib_src_configure() { local emesonargs=() + # bug #932591 and https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140 + tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto + local platforms use X && platforms+="x11" use wayland && platforms+=",wayland" -- cgit v1.2.3