summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-07-16 21:39:37 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-07-16 22:40:50 +0200
commit1732d937d445ef3959b881449234938ef88cae7b (patch)
tree8d1601bdb1cf9754dfa48cb09591cdbb78628560 /dev-libs/libuninum
parentgames-simulation/openrct2: update live ebuild (diff)
downloadgentoo-1732d937d445ef3959b881449234938ef88cae7b.tar.gz
gentoo-1732d937d445ef3959b881449234938ef88cae7b.tar.bz2
gentoo-1732d937d445ef3959b881449234938ef88cae7b.zip
dev-libs/libuninum: filter lto
Closes: https://bugs.gentoo.org/855956 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/libuninum')
-rw-r--r--dev-libs/libuninum/libuninum-2.7-r1.ebuild10
1 files changed, 10 insertions, 0 deletions
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