app-crypt/efitools: filter LTO

Calls LD directly and doesn't respect LDFLAGS. Low level tool with a history
of e.g. segfaulting with new openssl, so let's not risk anything anyway.

Closes: https://bugs.gentoo.org/908813
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-06-22 02:52:28 +01:00
parent 3b40c4d544
commit ae1e332058

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -48,5 +48,9 @@ src_prepare() {
}
src_configure() {
# Calls LD directly, doesn't respect LDFLAGS. Low level package anyway.
# See bug #908813.
filter-lto
tc-export AR CC LD NM OBJCOPY PKG_CONFIG
}