dev-libs/libev: filter LTO, no-SA

Broken quite badly, no upstream bug tracker AFAICT. And broken in many bundled copies
all over the place (which are modified...)

Closes: https://bugs.gentoo.org/855869
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-02-29 00:45:50 +00:00
parent c30f795e25
commit 0ce97e67de

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools multilib-minimal
inherit autotools flag-o-matic multilib-minimal
DESCRIPTION="A high-performance event loop/event model with lots of feature"
HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
@@ -27,6 +27,14 @@ src_prepare() {
eautoreconf
}
src_configure() {
# See bug #855869 and its large number of dupes in bundled libev copies.
filter-lto
append-flags -fno-strict-aliasing
multilib-minimal_src_configure
}
multilib_src_configure() {
ECONF_SOURCE="${S}" \
econf \