mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
toolchain.eclass: set QA_PRESTRIPPED for now for Go
As slyfox analysed on the bug, Portage shouldn't be warning on these files as they're not executables. We should look at fixing Portage but set QA_PRESTRIPPED for now to avoid noise and potentially missing other actual warnings. Bug: https://bugs.gentoo.org/793770 Closes: https://bugs.gentoo.org/795810 Closes: https://bugs.gentoo.org/955240 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -2789,6 +2789,8 @@ toolchain_src_install() {
|
||||
# Don't scan .gox files for executable stacks - false positives
|
||||
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"
|
||||
|
||||
# Disable RANDMMAP so PCH works, bug #301299
|
||||
pax-mark -r "${ED}/libexec/gcc/${CTARGET}/${GCC_CONFIG_VER}/cc1"
|
||||
|
||||
Reference in New Issue
Block a user