From 347641e47ecf176ba940d2e1d1d076f1879b66cd Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 6 May 2025 11:23:23 -0400 Subject: dev-util/cpputest: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Signed-off-by: Eli Schwartz --- dev-util/cpputest/cpputest-4.0-r1.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'dev-util/cpputest/cpputest-4.0-r1.ebuild') diff --git a/dev-util/cpputest/cpputest-4.0-r1.ebuild b/dev-util/cpputest/cpputest-4.0-r1.ebuild index 4d8d165e77c2..d6f93c1a648b 100644 --- a/dev-util/cpputest/cpputest-4.0-r1.ebuild +++ b/dev-util/cpputest/cpputest-4.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools dot-a DESCRIPTION="Unit testing and mocking framework for C/C++" HOMEPAGE="https://cpputest.github.io/ https://github.com/cpputest/cpputest" @@ -28,3 +28,13 @@ src_prepare() { default eautoreconf } + +src_configure() { + lto-guarantee-fat + default +} + +src_install() { + default + strip-lto-bytecode +} -- cgit v1.2.3