mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +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"
|
||||
|
||||
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}/etcdctl"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user