summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-01-10 16:58:40 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-01-10 16:59:59 -0500
commit2f9d197f5bd533d2643c19ecbd8a16583240bb43 (patch)
treeb3c52338c1b9476eb34137d9c3ffad80daf982f0 /media-libs/vips
parentsci-libs/caffe2: fix XNNPACK configure (diff)
downloadgentoo-2f9d197f5bd533d2643c19ecbd8a16583240bb43.tar.gz
gentoo-2f9d197f5bd533d2643c19ecbd8a16583240bb43.tar.bz2
gentoo-2f9d197f5bd533d2643c19ecbd8a16583240bb43.zip
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>
Diffstat (limited to 'media-libs/vips')
-rw-r--r--media-libs/vips/vips-8.15.1.ebuild7
1 files 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)