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

golang-base.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.

(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 <sam <AT> gentoo.org>

 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 a2996e3b0683..cad737fdeaca 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
 

Reply via email to