public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/treecc/
Date: Tue, 05 Aug 2025 20:01:08 +0000 (UTC)	[thread overview]
Message-ID: <1754423615.1abaeb622d9f08266e66ce6e93ec70087453af39.eschwartz@gentoo> (raw)

commit:     1abaeb622d9f08266e66ce6e93ec70087453af39
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  5 19:44:41 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug  5 19:53:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1abaeb62

dev-util/treecc: use dot-a.eclass

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

Closes: https://bugs.gentoo.org/958416
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-util/treecc/treecc-0.3.10-r3.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-util/treecc/treecc-0.3.10-r3.ebuild b/dev-util/treecc/treecc-0.3.10-r3.ebuild
index a034e4dcf8a5..1dedfca6d10f 100644
--- a/dev-util/treecc/treecc-0.3.10-r3.ebuild
+++ b/dev-util/treecc/treecc-0.3.10-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit dot-a toolchain-funcs
 
 DESCRIPTION="Compiler-compiler tool for aspect-oriented programming"
 HOMEPAGE="https://www.gnu.org/software/dotgnu/"
@@ -20,6 +20,11 @@ PATCHES=(
 	"${FILESDIR}/${P}-proto.patch"
 )
 
+src_configure() {
+	lto-guarantee-fat
+	default
+}
+
 src_compile() {
 	emake AR="$(tc-getAR)"
 
@@ -34,6 +39,7 @@ src_compile() {
 
 src_install() {
 	default
+	strip-lto-bytecode
 
 	if use examples; then
 		docinto examples


             reply	other threads:[~2025-08-05 20:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-05 20:01 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-03  5:29 [gentoo-commits] repo/gentoo:master commit in: dev-util/treecc/ Sam James
2025-06-23  0:21 Sam James
2025-06-23  0:21 Sam James
2025-06-22 17:39 Sam James
2024-12-09 16:33 Petr Vaněk
2024-11-25 21:49 Sam James
2024-11-23 16:02 Michał Górny
2024-11-23 12:24 Arthur Zamarin
2024-11-23 12:12 Sam James
2024-11-23 12:11 Sam James
2024-11-23 12:09 Sam James
2019-11-10  9:19 Michał Górny
2019-11-10  9:19 Michał Górny
2019-11-08  8:35 Mikle Kolyada
2019-10-11 22:32 Sergei Trofimovich
2019-10-07 19:12 Sergei Trofimovich
2019-10-07 10:44 Agostino Sarubbo
2019-10-07 10:38 Agostino Sarubbo
2019-04-09 22:21 Patrice Clement
2019-04-09 22:21 Patrice Clement

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=1754423615.1abaeb622d9f08266e66ce6e93ec70087453af39.eschwartz@gentoo \
    --to=eschwartz@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