mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
eclass/toolchain: Sync with Gentoo
It's from Gentoo commit 518f49f7400f3b68f7a4a87cf11273fa89daade1.
This commit is contained in:
parent
0e2c598ec2
commit
baaaf32c73
@ -328,7 +328,7 @@ fi
|
|||||||
|
|
||||||
if tc_has_feature systemtap ; then
|
if tc_has_feature systemtap ; then
|
||||||
# gcc needs sys/sdt.h headers on target
|
# gcc needs sys/sdt.h headers on target
|
||||||
DEPEND+=" systemtap? ( dev-util/systemtap )"
|
DEPEND+=" systemtap? ( dev-debug/systemtap )"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if tc_has_feature zstd ; then
|
if tc_has_feature zstd ; then
|
||||||
@ -355,7 +355,7 @@ if tc_has_feature d && tc_version_is_at_least 12.0 ; then
|
|||||||
BDEPEND+=" d? ( || ( sys-devel/gcc[d(-)] <sys-devel/gcc-12[d(-)] ) )"
|
BDEPEND+=" d? ( || ( sys-devel/gcc[d(-)] <sys-devel/gcc-12[d(-)] ) )"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PDEPEND=">=sys-devel/gcc-config-2.3"
|
PDEPEND=">=sys-devel/gcc-config-2.11"
|
||||||
|
|
||||||
#---->> S + SRC_URI essentials <<----
|
#---->> S + SRC_URI essentials <<----
|
||||||
|
|
||||||
@ -1975,6 +1975,8 @@ toolchain_src_install() {
|
|||||||
rm "${D}${DATAPATH}"/info/dir || die
|
rm "${D}${DATAPATH}"/info/dir || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
docompress "${DATAPATH}"/{info,man}
|
||||||
|
|
||||||
# Prune empty dirs left behind
|
# Prune empty dirs left behind
|
||||||
find "${ED}" -depth -type d -delete 2>/dev/null
|
find "${ED}" -depth -type d -delete 2>/dev/null
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user