mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
app-emulation/acbuild: fix ldflags for go1.7
This commit is contained in:
parent
f232f1dc6b
commit
01bd251228
@ -34,9 +34,9 @@ src_compile(){
|
||||
v=$(git describe --long --dirty) || die
|
||||
v=${v#v}
|
||||
v=${v/-/+}
|
||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/lib.Version ${v}"
|
||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/lib.Version=${v}"
|
||||
else
|
||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/lib.Version ${PV}"
|
||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/lib.Version=${PV}"
|
||||
fi
|
||||
|
||||
go_build "${COREOS_GO_PACKAGE}/acbuild"
|
||||
|
Loading…
x
Reference in New Issue
Block a user