Makefile: don't include build ID in release build
Build ID may negatively affect reproducibility.
This commit is contained in:
parent
4bcd168abc
commit
adfc6de641
2
Makefile
2
Makefile
|
@ -10,7 +10,7 @@ dev:
|
|||
.PHONY: release
|
||||
release: check
|
||||
mkdir -p build
|
||||
CGO_ENABLED=0 go build -buildmode=pie -trimpath -ldflags="-s -w" -o build/client-hello-mirror
|
||||
CGO_ENABLED=0 go build -buildmode=pie -trimpath -ldflags="-s -w -buildid=" -o build/client-hello-mirror
|
||||
|
||||
.PHONY: check
|
||||
check:
|
||||
|
|
Loading…
Reference in New Issue