commit:     cb6eb7f69b18a56c3c63ec920372b38cfe20feed
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Wed Oct  1 06:57:02 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  1 15:06:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb6eb7f6

toolchain.eclass: fix paths for pax-mark

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

Fixes: 4a3bfe56f647fd16ec529d3632030bbbcaacee06
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 5d7bf2a67547..5e9a6bcad9ad 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -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

Reply via email to