sys-apps/ignition: GO_LDFLAGS: use = in -X assignment

Silences complaint from go build:
link: warning: option -X github.com/coreos/ignition/internal/version.Raw v0.9.2-4-gdfe9e8b-dirty may not work in future releases;
use -X github.com/coreos/ignition/internal/version.Raw=v0.9.2-4-gdfe9e8b-dirty
This commit is contained in:
Vito Caputo 2016-08-19 16:06:43 -07:00
parent 51fbe5622d
commit e336dcd919
2 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ IUSE=""
src_compile() { src_compile() {
export GO15VENDOREXPERIMENT="1" export GO15VENDOREXPERIMENT="1"
GO_LDFLAGS="-X github.com/coreos/ignition/internal/version.Raw $(git describe --dirty)" || die GO_LDFLAGS="-X github.com/coreos/ignition/internal/version.Raw=$(git describe --dirty)" || die
go_build "${COREOS_GO_PACKAGE}/internal" go_build "${COREOS_GO_PACKAGE}/internal"
} }