Any bugs I've been able to find that would justify keeping this were fixed long ago and other distributions seem to be stripping Go binaries just fine.
(Arguably not really worth doing golang-base.eclass as it's obsolete but let's just do it.) Bug: https://bugs.gentoo.org/926841 Signed-off-by: Sam James <[email protected]> --- eclass/golang-base.eclass | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass index a2996e3b06836..cad737fdeaca9 100644 --- a/eclass/golang-base.eclass +++ b/eclass/golang-base.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: golang-base.eclass @@ -31,9 +31,6 @@ fi # Do not complain about CFLAGS etc since go projects do not use them. QA_FLAGS_IGNORED='.*' -# Upstream does not support stripping go packages -RESTRICT="strip" - # force GO111MODULE to be auto for bug https://bugs.gentoo.org/771129 export GO111MODULE=auto -- 2.50.1
