From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/
Date: Tue, 06 May 2025 12:20:10 +0000 (UTC) [thread overview]
Message-ID: <1746533467.066db17f066daf56d2d58e4f10ca8d83c74203de.sam@gentoo> (raw)
commit: 066db17f066daf56d2d58e4f10ca8d83c74203de
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 6 11:42:25 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=066db17f
dev-libs/check: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/check/check-0.15.2-r2.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dev-libs/check/check-0.15.2-r2.ebuild b/dev-libs/check/check-0.15.2-r2.ebuild
index 892919795257..073ff4ff3669 100644
--- a/dev-libs/check/check-0.15.2-r2.ebuild
+++ b/dev-libs/check/check-0.15.2-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake-multilib
+inherit cmake-multilib dot-a
DESCRIPTION="A unit test framework for C"
HOMEPAGE="https://libcheck.github.io/check/"
@@ -29,6 +29,11 @@ PATCHES=(
"${FILESDIR}"/${P}-Fix-pkgconfig-file-s-libdir-value.patch
)
+src_configure() {
+ lto-guarantee-fat
+ cmake-multilib_src_configure
+}
+
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test ON OFF)
@@ -50,4 +55,5 @@ multilib_src_compile() {
multilib_src_install_all() {
use doc && local HTML_DOCS=( "${S}"/doc/html/. )
einstalldocs
+ strip-lto-bytecode
}
next reply other threads:[~2025-05-06 12:20 UTC|newest]
Thread overview: 93+ 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-03-16 21:14 [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/ Andreas Sturmlechner
2025-03-14 16:48 Sam James
2025-03-09 10:21 Sam James
2025-03-09 10:21 Sam James
2025-03-09 10:21 Sam James
2025-03-09 9:26 Sam James
2025-03-09 9:26 Sam James
2025-03-09 9:25 Sam James
2025-03-09 9:21 Sam James
2025-02-26 7:18 Joonas Niilola
2022-05-08 3:10 WANG Xuerui
2020-09-27 10:27 Joonas Niilola
2020-09-13 10:50 Sergei Trofimovich
2020-09-13 8:38 Sergei Trofimovich
2020-09-13 8:30 Sergei Trofimovich
2020-09-12 16:57 Sam James
2020-09-12 16:57 Sam James
2020-09-12 8:16 Joonas Niilola
2020-09-12 8:16 Joonas Niilola
2020-09-08 6:25 Joonas Niilola
2020-09-07 15:43 Joonas Niilola
2020-09-07 15:43 Joonas Niilola
2020-09-07 15:43 Joonas Niilola
2020-08-09 8:49 Joonas Niilola
2020-08-05 14:06 Agostino Sarubbo
2020-07-27 18:36 Sergei Trofimovich
2020-07-27 13:54 Sam James
2020-07-25 11:26 Joonas Niilola
2020-07-25 11:16 Sam James
2020-07-25 8:42 Sergei Trofimovich
2020-07-23 7:33 Joonas Niilola
2020-07-22 6:20 Joonas Niilola
2020-07-22 6:20 Joonas Niilola
2020-06-22 8:58 Joonas Niilola
2020-05-27 6:18 Joonas Niilola
2020-05-27 6:18 Joonas Niilola
2020-05-27 6:18 Joonas Niilola
2020-05-12 6:36 Agostino Sarubbo
2020-05-11 18:33 Mart Raudsepp
2020-05-09 19:43 Sergei Trofimovich
2020-05-09 7:48 Agostino Sarubbo
2020-05-08 17:15 Agostino Sarubbo
2020-05-08 17:10 Agostino Sarubbo
2020-05-08 10:47 Agostino Sarubbo
2020-04-04 15:56 Sergei Trofimovich
2020-03-26 18:15 Joonas Niilola
2020-03-25 11:17 Joonas Niilola
2020-03-21 9:24 Mart Raudsepp
2020-03-02 15:22 Agostino Sarubbo
2020-03-02 12:39 Agostino Sarubbo
2020-03-02 12:38 Agostino Sarubbo
2020-03-02 12:34 Agostino Sarubbo
2020-03-02 12:29 Agostino Sarubbo
2020-03-02 12:28 Agostino Sarubbo
2020-02-29 9:02 Joonas Niilola
2020-02-29 9:02 Joonas Niilola
2020-02-02 8:08 Joonas Niilola
2019-10-27 7:07 Joonas Niilola
2019-10-03 15:42 Joonas Niilola
2019-05-04 13:18 Mikle Kolyada
2018-04-26 5:28 Matt Turner
2018-04-26 5:28 Matt Turner
2018-04-22 8:22 Mart Raudsepp
2018-03-25 17:18 Markus Meier
2018-03-22 0:15 Matt Turner
2018-03-20 9:15 Sergei Trofimovich
2018-03-20 9:07 Sergei Trofimovich
2018-03-04 11:34 Tobias Klausmann
2018-02-19 8:37 Sergei Trofimovich
2018-02-18 8:34 Sergei Trofimovich
2018-02-06 15:10 Thomas Deutschmann
2018-01-27 19:07 Mike Frysinger
2018-01-23 22:06 Patrice Clement
2018-01-15 19:03 Tobias Klausmann
2017-11-03 13:26 Michael Palimaka
2017-10-31 23:28 Sergei Trofimovich
2017-10-25 7:47 Lars Wendler
2017-08-19 0:31 Thomas Deutschmann
2017-07-15 15:17 Tobias Klausmann
2017-06-04 11:54 Sergei Trofimovich
2017-04-21 10:08 Kent Fredric
2017-03-10 16:59 Michael Weber
2017-03-01 0:31 Michael Weber
2017-01-29 16:07 Fabian Groffen
2016-12-23 8:46 Lars Wendler
2016-10-09 7:19 Jeroen Roovers
2016-10-05 19:08 Markus Meier
2016-10-01 12:19 Jeroen Roovers
2016-09-29 9:09 Tobias Klausmann
2016-08-12 20:48 Michael Orlitzky
2016-08-12 20:48 Michael Orlitzky
2016-08-07 7:25 Pacho Ramos
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.066db17f066daf56d2d58e4f10ca8d83c74203de.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