summaryrefslogtreecommitdiff
path: root/eclass/golang-base.eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-07-13 06:06:34 +0100
committerSam James <sam@gentoo.org>2025-07-13 06:06:34 +0100
commitf9ea59b479b0a2564383d347e4778d4dd71e5bc9 (patch)
tree6acd73a376fba30cd736ad8c6d1858e98384f2f1 /eclass/golang-base.eclass
parentdc9f739ba2e4016af2c9a0ba0a9dad59fe8343c4 (diff)
downloadgentoo-f9ea59b479b0a2564383d347e4778d4dd71e5bc9.tar.gz
gentoo-f9ea59b479b0a2564383d347e4778d4dd71e5bc9.tar.bz2
gentoo-f9ea59b479b0a2564383d347e4778d4dd71e5bc9.zip
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>
Diffstat (limited to 'eclass/golang-base.eclass')
-rw-r--r--eclass/golang-base.eclass5
1 files changed, 1 insertions, 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