commit:     1732d937d445ef3959b881449234938ef88cae7b
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 19:39:37 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 20:40:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1732d937

dev-libs/libuninum: filter lto

Closes: https://bugs.gentoo.org/855956
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-libs/libuninum/libuninum-2.7-r1.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

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

Reply via email to