mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958414 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
31 lines
495 B
Bash
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
|
|
}
|