From ae1e332058fc483a5d8d7804d34f369f4566638e Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 22 Jun 2023 02:52:28 +0100 Subject: [PATCH] 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 --- app-crypt/efitools/efitools-1.9.2-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-crypt/efitools/efitools-1.9.2-r1.ebuild b/app-crypt/efitools/efitools-1.9.2-r1.ebuild index c10f01e423d38..0deba136bb4c9 100644 --- a/app-crypt/efitools/efitools-1.9.2-r1.ebuild +++ b/app-crypt/efitools/efitools-1.9.2-r1.ebuild @@ -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 }