public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/unittest++/
Date: Tue, 06 May 2025 12:20:10 +0000 (UTC)	[thread overview]
Message-ID: <1746533467.3e0d044a818e015fba7fdd2662c400891698360e.sam@gentoo> (raw)

commit:     3e0d044a818e015fba7fdd2662c400891698360e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May  6 11:34:26 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May  6 12:11:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0d044a

dev-libs/unittest++: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/unittest++/unittest++-2.0.0-r3.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-libs/unittest++/unittest++-2.0.0-r3.ebuild b/dev-libs/unittest++/unittest++-2.0.0-r3.ebuild
index da4923ad6108..9cbe4fef7219 100644
--- a/dev-libs/unittest++/unittest++-2.0.0-r3.ebuild
+++ b/dev-libs/unittest++/unittest++-2.0.0-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake dot-a
 
 MY_PN="unittest-cpp"
 MY_P="${MY_PN}-${PV}"
@@ -37,6 +37,8 @@ src_prepare() {
 }
 
 src_configure() {
+	lto-guarantee-fat
+
 	local mycmakeargs=(
 		# Don't build with -Werror: https://bugs.gentoo.org/747583
 		-DUTPP_AMPLIFY_WARNINGS=OFF
@@ -48,3 +50,9 @@ src_configure() {
 src_test() {
 	"${BUILD_DIR}/TestUnitTest++" || die "Tests failed"
 }
+
+
+src_install() {
+	cmake_src_install
+	strip-lto-bytecode
+}


             reply	other threads:[~2025-05-06 12:20 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06 12:20 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-28 18:01 [gentoo-commits] repo/gentoo:master commit in: dev-libs/unittest++/ Andreas Sturmlechner
2025-05-25 20:27 Sam James
2025-05-25 16:44 Sam James
2025-05-25 16:39 Sam James
2025-05-25 16:39 Sam James
2025-05-25 16:39 Sam James
2025-05-25 16:39 Sam James
2025-05-06 12:22 Sam James
2022-05-19  5:08 WANG Xuerui
2022-04-26  4:03 Sam James
2021-03-12 23:35 Andreas Sturmlechner
2021-03-11 13:30 Sam James
2021-03-11  2:35 Sam James
2021-03-10  3:06 Sam James
2021-03-10  3:06 Sam James
2021-03-10  3:06 Sam James
2021-03-10  3:05 Sam James
2021-03-10  3:04 Sam James
2021-02-11  7:37 Sergei Trofimovich
2021-02-11  7:36 Sergei Trofimovich
2021-02-09 21:41 Sam James
2021-02-06  1:07 Andreas K. Hüttel
2021-02-05  2:06 Sam James
2021-01-27 17:45 Sergei Trofimovich
2021-01-25 14:18 Sam James
2021-01-25 14:16 Sam James
2020-10-10 14:46 Louis Sautier
2020-08-15 17:46 Louis Sautier
2020-08-15 17:46 Louis Sautier
2018-02-06 15:10 Thomas Deutschmann
2017-09-16 10:13 David Seifert
2017-09-16 10:13 David Seifert
2017-09-16 10:13 David Seifert
2016-05-05 13:13 Patrice Clement
2016-03-15 16:47 Michael Palimaka
2016-03-08 13:39 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1746533467.3e0d044a818e015fba7fdd2662c400891698360e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox