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: app-emulation/hercules-sdl-softfloat/
Date: Fri, 01 Aug 2025 04:26:55 +0000 (UTC)	[thread overview]
Message-ID: <1754022332.7d27eec63e755a0cbdb76a489ca5c0f0438ee6f0.sam@gentoo> (raw)

commit:     7d27eec63e755a0cbdb76a489ca5c0f0438ee6f0
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri Aug  1 02:00:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  1 04:25:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d27eec6

app-emulation/hercules-sdl-softfloat: fix LTO on static lib

Closes: https://bugs.gentoo.org/958347
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Part-of: https://github.com/gentoo/gentoo/pull/43275
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../hercules-sdl-softfloat-4.8.0.ebuild                    | 12 +++++++++++-
 .../hercules-sdl-softfloat-9999.ebuild                     | 14 ++++++++++++--
 2 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-4.8.0.ebuild b/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-4.8.0.ebuild
index 8274253c5bed..574f8d373010 100644
--- a/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-4.8.0.ebuild
+++ b/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-4.8.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake dot-a
 
 # Use ../hercules-sdl/files/gen_hashes.sh to identify the relevant
 # commit when tagging new versions.
@@ -18,3 +18,13 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ppc64"
 PATCHES=( "${FILESDIR}/cmakefix.patch" )
+
+src_configure() {
+	lto-guarantee-fat
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	strip-lto-bytecode
+}

diff --git a/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-9999.ebuild b/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-9999.ebuild
index aa8e20b71b90..b628ba75efc8 100644
--- a/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-9999.ebuild
+++ b/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit git-r3 cmake
+inherit git-r3 cmake dot-a
 
 DESCRIPTION="Berkeley IEEE Binary Floating-Point Library"
 HOMEPAGE="https://github.com/SDL-Hercules-390/SoftFloat"
@@ -12,3 +12,13 @@ EGIT_REPO_URI="https://github.com/SDL-Hercules-390/SoftFloat"
 LICENSE="BSD"
 SLOT="0"
 PATCHES=( "${FILESDIR}/cmakefix.patch" )
+
+src_configure() {
+	lto-guarantee-fat
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	strip-lto-bytecode
+}


             reply	other threads:[~2025-08-01  4:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-01  4:26 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-14 20:06 [gentoo-commits] repo/gentoo:master commit in: app-emulation/hercules-sdl-softfloat/ Sam James
2025-06-22 15:53 Sam James
2025-05-21 20:53 Sam James
2024-10-02 22:53 Sam James
2024-10-02 19:44 Sam James

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=1754022332.7d27eec63e755a0cbdb76a489ca5c0f0438ee6f0.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