commit:     946db4a4aca9bf4d9b7cda7a5c5919ab66b25215
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  5 18:43:26 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Sep  5 18:45:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946db4a4

app-emulation/img: drop unnecessary settings

We don't need the -work flag, -s and -w strip the executables and
GOCACHE, -v and -x  are set in the eclass.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-emulation/img/img-0.5.11.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-emulation/img/img-0.5.11.ebuild 
b/app-emulation/img/img-0.5.11.ebuild
index 154fb007ce4..cd92124e2d1 100644
--- a/app-emulation/img/img-0.5.11.ebuild
+++ b/app-emulation/img/img-0.5.11.ebuild
@@ -536,10 +536,9 @@ RDEPEND="${DEPEND}
        app-emulation/runc"
 
 src_compile() {
-       GOCACHE="${T}/go-cache" \
                IMG_DISABLE_EMBEDDED_RUNC=1 \
-               go build -v -work -x -tags "noembed $(usev seccomp)" \
-               -ldflags="-s -w -X version.VERSION=${PV}" || die
+               go build -tags "noembed $(usev seccomp)" \
+               -ldflags="-X version.VERSION=${PV}" || die
 }
 
 src_install() {

Reply via email to