Skip to content

Commit

Permalink
Build it statically
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Mert Yildiran committed Feb 13, 2022
1 parent 81facf3 commit a9fcf67
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 @@ -23,7 +23,7 @@ test-client-go:
test/client_go.sh

build:
cd server/ && CGO_ENABLED=0 go build -gcflags="-e" -ldflags="-s -w" -o ../build/basenine_$(SUFFIX) *.go && \
cd server/ && CGO_ENABLED=0 go build -gcflags="-e" -ldflags="-extldflags=-static -s -w" -o ../build/basenine_$(SUFFIX) *.go && \
cd ../build/ && shasum -a 256 basenine_${SUFFIX} > basenine_${SUFFIX}.sha256

build-all:
Expand Down

0 comments on commit a9fcf67

Please sign in to comment.