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@gentoo.org>
This commit is contained in:
Sam James 2025-07-13 06:06:34 +01:00
parent dc9f739ba2
commit f9ea59b479
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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