commit:     a1dbd2eb1e27d91edc7383e03c51839203e1fc88
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sat Dec 10 21:13:17 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 21:52:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1dbd2eb

app-forensics/scalpel: does not build with CFLAGS=-lto

Closes: https://bugs.gentoo.org/865687
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/28631
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-forensics/scalpel/scalpel-2.1_pre20210326.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-forensics/scalpel/scalpel-2.1_pre20210326.ebuild 
b/app-forensics/scalpel/scalpel-2.1_pre20210326.ebuild
index f2c5f97a0fa8..dd1fe9be6aed 100644
--- a/app-forensics/scalpel/scalpel-2.1_pre20210326.ebuild
+++ b/app-forensics/scalpel/scalpel-2.1_pre20210326.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="A high performance file carver"
 HOMEPAGE="https://github.com/sleuthkit/scalpel";
@@ -34,6 +34,8 @@ src_prepare() {
 
        default
        eautoreconf
+
+       filter-lto # https://bugs.gentoo.org/865687
 }
 
 src_install() {

Reply via email to