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

Dead upstream, LTO type mismatch.

Closes: https://bugs.gentoo.org/924867
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-03-14 05:21:25 +00:00
parent f2695798e5
commit 1cdb73d333
2 changed files with 19 additions and 3 deletions
+10 -2
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
inherit autotools flag-o-matic
DESCRIPTION="Provides an uniform interface to access several encryption algorithms"
HOMEPAGE="https://mcrypt.sourceforge.net"
@@ -36,6 +36,14 @@ src_prepare() {
eautoreconf # update stale autotools
}
src_configure() {
# LTO type mismatch (bug #924867)
append-flags -fno-strict-aliasing
filter-lto
default
}
src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
+9 -1
View File
@@ -3,7 +3,7 @@
EAPI=8
inherit autotools
inherit autotools flag-o-matic
DESCRIPTION="Provides an uniform interface to access several encryption algorithms"
HOMEPAGE="https://mcrypt.sourceforge.net"
@@ -39,6 +39,14 @@ src_prepare() {
eautoreconf # update stale autotools
}
src_configure() {
# LTO type mismatch (bug #924867)
append-flags -fno-strict-aliasing
filter-lto
default
}
src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die