2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00

toolchain.eclass: fix paths for pax-mark

Actually ${ED} != ${D}${PREFIX}

Fixes: 4a3bfe56f6
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alexander Tsoy
2025-10-01 09:57:02 +03:00
committed by Sam James
parent a7d1ca556b
commit cb6eb7f69b

View File

@@ -2811,8 +2811,8 @@ toolchain_src_install() {
export QA_PRESTRIPPED="usr/lib*/go/*/*/*.gox"
# Disable RANDMMAP so PCH works, bug #301299
pax-mark -r "${ED}/libexec/gcc/${CTARGET}/${GCC_CONFIG_VER}/cc1"
pax-mark -r "${ED}/libexec/gcc/${CTARGET}/${GCC_CONFIG_VER}/cc1plus"
pax-mark -r "${D}${PREFIX}/libexec/gcc/${CTARGET}/${GCC_CONFIG_VER}/cc1"
pax-mark -r "${D}${PREFIX}/libexec/gcc/${CTARGET}/${GCC_CONFIG_VER}/cc1plus"
if [[ -n ${TOOLCHAIN_HAS_TESTS} ]] && use test ; then
mkdir "${T}"/test-results || die