mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
coreos-cloudinit: fix ldflags for go1.7
This commit is contained in:
parent
01bd251228
commit
c025f3a3e9
@ -40,7 +40,7 @@ src_prepare() {
|
|||||||
|
|
||||||
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
|
||||||
coreos-go_src_compile
|
coreos-go_src_compile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user