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@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-01-10 16:59:59 -05:00
parent ba658e30c1
commit 2f9d197f5b
+5 -2
View File
@@ -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)