go-module.eclass: replace GOFLAGS if EGO_VENDOR is being used
authorWilliam Hubbs <william.hubbs@sony.com>
Tue, 10 Mar 2020 22:44:16 +0000 (17:44 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Tue, 10 Mar 2020 22:48:13 +0000 (17:48 -0500)
commit68746d8443ca152fcc52f1260fd0018ac9a75f4f
tree0b243c94a7a8961a98b5303f6372da3b37f2f78b
parent995c8c25b4f3d9cd488e744b9b6b99d019facb13
go-module.eclass: replace GOFLAGS if EGO_VENDOR is being used

We can't repeat the -mod flag, so we need to replace the GOFLAGS if
EGO_VENDOR is being used.

Closes: https://bugs.gentoo.org/7111640

Signed-off-by: William Hubbs <williamh@gentoo.org>
eclass/go-module.eclass