summaryrefslogtreecommitdiff
path: root/dev-util/cpputest/cpputest-4.0-r1.ebuild
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2025-05-06 11:23:23 -0400
committerEli Schwartz <eschwartz@gentoo.org>2025-05-06 13:40:27 -0400
commit347641e47ecf176ba940d2e1d1d076f1879b66cd (patch)
tree272a20f14017dfed87c1376eddf1ff15c6967b40 /dev-util/cpputest/cpputest-4.0-r1.ebuild
parent766b26c8b736f592efca38ea43c0197d6b57f277 (diff)
downloadgentoo-347641e47ecf176ba940d2e1d1d076f1879b66cd.tar.gz
gentoo-347641e47ecf176ba940d2e1d1d076f1879b66cd.tar.bz2
gentoo-347641e47ecf176ba940d2e1d1d076f1879b66cd.zip
dev-util/cpputest: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-util/cpputest/cpputest-4.0-r1.ebuild')
-rw-r--r--dev-util/cpputest/cpputest-4.0-r1.ebuild12
1 files changed, 11 insertions, 1 deletions
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
+}