Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Commit

Permalink
Produce reproducible Go builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mlafeldt committed Nov 7, 2019
1 parent a5e6180 commit cef719b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ build: $(build_funcs)

$(build_funcs):
mkdir -p bin/$(@:build-%=%)
GOOS=linux GOARCH=amd64 go build -o bin/$(@:build-%=%)/handler ./$(@:build-%=%)
GOOS=linux GOARCH=amd64 go build -trimpath -ldflags=-buildid= -o bin/$(@:build-%=%)/handler ./$(@:build-%=%)

#
# lint
Expand Down

0 comments on commit cef719b

Please sign in to comment.