commit:     dc9f739ba2e4016af2c9a0ba0a9dad59fe8343c4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 13 05:05:29 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 13 05:05:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9f739b

go-module.eclass: drop RESTRICT=strip

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.

Closes: https://bugs.gentoo.org/926841
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/go-module.eclass | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index 14e0aad9dd2a..411d0cd8ea58 100644
--- a/eclass/go-module.eclass
+++ b/eclass/go-module.eclass
@@ -104,9 +104,6 @@ export GOFLAGS="-buildvcs=false -modcacherw -v -x"
 # Do not complain about CFLAGS etc since go projects do not use them.
 QA_FLAGS_IGNORED='.*'
 
-# Go packages should not be stripped with strip(1).
-RESTRICT+=" strip"
-
 # @ECLASS_VARIABLE: EGO_SUM
 # @DEPRECATED: none
 # @DESCRIPTION:

Reply via email to