gentoo/app-emulation/hercules-sdl-softfloat/hercules-sdl-softfloat-9999.ebuild
Matoro Mahri 7d27eec63e
app-emulation/hercules-sdl-softfloat: fix LTO on static lib
Closes: https://bugs.gentoo.org/958347
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Part-of: https://github.com/gentoo/gentoo/pull/43275
Signed-off-by: Sam James <sam@gentoo.org>
2025-08-01 05:25:32 +01:00

25 lines
502 B
Bash

# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 cmake dot-a
DESCRIPTION="Berkeley IEEE Binary Floating-Point Library"
HOMEPAGE="https://github.com/SDL-Hercules-390/SoftFloat"
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
}