eclass/golang-base: Sync with Gentoo

It's from Gentoo commit f9ea59b479b0a2564383d347e4778d4dd71e5bc9.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Flatcar Buildbot 2025-07-21 07:13:43 +00:00 committed by Mathieu Tortuyaux
parent ea7eede377
commit a90c11c936
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

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