From 1732d937d445ef3959b881449234938ef88cae7b Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sat, 16 Jul 2022 21:39:37 +0200 Subject: dev-libs/libuninum: filter lto Closes: https://bugs.gentoo.org/855956 Signed-off-by: Conrad Kostecki --- dev-libs/libuninum/libuninum-2.7-r1.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'dev-libs/libuninum') diff --git a/dev-libs/libuninum/libuninum-2.7-r1.ebuild b/dev-libs/libuninum/libuninum-2.7-r1.ebuild index 0307915cebf4..1a786ed1da32 100644 --- a/dev-libs/libuninum/libuninum-2.7-r1.ebuild +++ b/dev-libs/libuninum/libuninum-2.7-r1.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit flag-o-matic + DESCRIPTION="A library for converting unicode strings to numbers and vice versa" HOMEPAGE="https://billposer.org/Software/libuninum.html" SRC_URI="https://billposer.org/Software/Downloads/${P}.tar.bz2" @@ -11,6 +13,14 @@ KEYWORDS="amd64 x86" LICENSE="GPL-2 GPL-2+ LGPL-2 LGPL-2.1" SLOT="0" +src_prepare() { + default + + # LTO does not work. + # See https://bugs.gentoo.org/855956 + filter-lto +} + src_configure() { local myeconfargs=( --disable-static -- cgit v1.2.3-65-gdbad