Makefile: build statically linked binary
This commit is contained in:
parent
6f92f789d2
commit
8a118c5efd
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue