mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-06 18:02:02 +01:00
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:
parent
51fbe5622d
commit
e336dcd919
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user