mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
dev-db/etcd: fix ldflags for go1.7
This commit is contained in:
parent
c4f1e8cc18
commit
28839780e7
@ -31,7 +31,7 @@ RDEPEND="!dev-db/etcd:0
|
|||||||
!dev-db/etcdctl"
|
!dev-db/etcdctl"
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.GitSHA ${CROS_WORKON_COMMIT:0:7}"
|
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.GitSHA=${CROS_WORKON_COMMIT:0:7}"
|
||||||
go_build "${COREOS_GO_PACKAGE}"
|
go_build "${COREOS_GO_PACKAGE}"
|
||||||
go_build "${COREOS_GO_PACKAGE}/etcdctl"
|
go_build "${COREOS_GO_PACKAGE}/etcdctl"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user