You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.0 KiB
26 lines
1.0 KiB
Index: src/github.com/hyperledger/burrow/Makefile |
|
--- src/github.com/hyperledger/burrow/Makefile.orig 2018-11-15 20:23:34.000000000 +0100 |
|
+++ src/github.com/hyperledger/burrow/Makefile 2018-11-15 20:25:59.290920000 +0100 |
|
@@ -112,11 +112,11 @@ |
|
# Output commit_hash but only if we have the git repo (e.g. not in docker build |
|
.PHONY: commit_hash |
|
commit_hash: |
|
- @git status &> /dev/null && scripts/commit_hash.sh > commit_hash.txt || true |
|
+ @echo "000000" >commit_hash.txt |
|
|
|
# build all targets in github.com/hyperledger/burrow |
|
.PHONY: build |
|
-build: check build_burrow |
|
+build: build_burrow |
|
|
|
# build all targets in github.com/hyperledger/burrow with checks for race conditions |
|
.PHONY: build_race |
|
@@ -125,7 +125,7 @@ |
|
# build burrow |
|
.PHONY: build_burrow |
|
build_burrow: commit_hash |
|
- go build -ldflags "-extldflags '-static' \ |
|
+ go build -v -ldflags "-extldflags '-static' \ |
|
-X github.com/hyperledger/burrow/project.commit=$(shell cat commit_hash.txt) \ |
|
-X github.com/hyperledger/burrow/project.date=$(shell date -I)" \ |
|
-o ${REPO}/bin/burrow ./cmd/burrow
|
|
|