commit:     2f9d197f5bd533d2643c19ecbd8a16583240bb43
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 10 21:58:40 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 21:59:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f9d197f

media-libs/vips: filter-lto when lld is used

wrt bug #921728, remember to revert this when trying to reproduce.

Bug: https://bugs.gentoo.org/921728
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/vips/vips-8.15.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-libs/vips/vips-8.15.1.ebuild 
b/media-libs/vips/vips-8.15.1.ebuild
index a7cf33376ada..373fbfe480ac 100644
--- a/media-libs/vips/vips-8.15.1.ebuild
+++ b/media-libs/vips/vips-8.15.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit meson python-single-r1 vala
+inherit flag-o-matic toolchain-funcs meson python-single-r1 vala
 
 DESCRIPTION="VIPS Image Processing Library"
 HOMEPAGE="https://libvips.github.io/libvips/";
@@ -111,6 +111,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # workaround for bug in lld (bug #921728)
+       tc-ld-is-lld && filter-lto
+
        local emesonargs=(
                $(meson_use deprecated)
                $(meson_use doc doxygen)

Reply via email to