Makefile: build statically linked binary

This commit is contained in:
Thomas Preisner 2022-02-25 21:39:45 +01:00
parent 6f92f789d2
commit 8a118c5efd

View file

@ -3,7 +3,7 @@
all: check_restic all: check_restic
check_restic: main.go check_restic: main.go
go build CGO_ENABLED=0 go build
clean: clean:
rm -f check_restic rm -f check_restic