toolchain.eclass: tweak Go path for QA_PRESTRIPPED

Not sure if the others are right or obsolete now, or what, but
for me, the "prestripped" (but not) files are at e.g.
usr/lib/go/15/x86_64-pc-linux-gnu/crypto.gox.

Followup to ff1f410ec1.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-11 05:01:19 +01:00
parent 3bad3f4974
commit abbb1a0e6a

View File

@@ -2790,7 +2790,7 @@ toolchain_src_install() {
export QA_EXECSTACK="usr/lib*/go/*/*.gox"
export QA_WX_LOAD="usr/lib*/go/*/*.gox"
# Workaround bug #793770
export QA_PRESTRIPPED="usr/lib*/go/*/*.gox"
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"