diff options
author | Gabi Falk <gabifalk@gmx.com> | 2024-04-12 08:00:00 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-13 19:40:53 +0100 |
commit | 4d338f1c63ef163974417a4e4754dd47899a4681 (patch) | |
tree | ba3daea3e0bd0ece1c70b139f3e5a9dc66bc3720 /eclass | |
parent | sys-libs/glibc: backport CPP fix to 2.38-r11, sync live (diff) | |
download | gentoo-4d338f1c63ef163974417a4e4754dd47899a4681.tar.gz gentoo-4d338f1c63ef163974417a4e4754dd47899a4681.tar.bz2 gentoo-4d338f1c63ef163974417a4e4754dd47899a4681.zip |
toolchain.eclass: fix installation of gcc[test] packages from binary
Fixes: abf8e2ee55c52c8ae894e0b3845ea1cebfcfd4e8 ("toolchain.eclass:
install test results as orphaned files in /var/cache/gcc")
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
Closes: https://github.com/gentoo/gentoo/pull/36224
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 6a515f9b5c69..0708d3c217fc 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2325,7 +2325,7 @@ create_revdep_rebuild_entry() { #---->> pkg_pre* <<---- toolchain_pkg_preinst() { - if use test ; then + if [[ ${MERGE_TYPE} != binary ]] && use test ; then # Install as orphaned to allow comparison across more versions even # after unmerged. Also useful for historical records and tracking # down regressions a while after they first appeared, but were only |