gentoo/dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild
Eli Schwartz 7a33d7b64e
dev-libs/pcc-libs: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/958414
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2025-08-05 15:53:34 -04:00

31 lines
495 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dot-a
DESCRIPTION="pcc compiler support libs"
HOMEPAGE="http://pcc.ludd.ltu.se"
SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz"
S="${WORKDIR}/${PN}-${PVR/*_pre/}/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_configure() {
lto-guarantee-fat
default
}
src_compile() {
# not parallel-safe yet
emake -j1
}
src_install() {
default
strip-lto-bytecode
}