mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
coreos-metadata: fix ldflags for go1.7
This commit is contained in:
parent
c025f3a3e9
commit
c4f1e8cc18
@ -25,7 +25,7 @@ IUSE=""
|
|||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
export GO15VENDOREXPERIMENT="1"
|
export GO15VENDOREXPERIMENT="1"
|
||||||
GO_LDFLAGS="-X main.version $(git describe --dirty)" || die
|
GO_LDFLAGS="-X main.version=$(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