Use CGO_ENABLED=0 for static binary
This commit is contained in:
parent
2affaa2150
commit
0effaaa586
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -16,7 +16,7 @@ translations: $(TRANSLATIONS) $(GOFILES)
|
|||
fi
|
||||
|
||||
cacert-idp: go.sum $(GOFILES) $(TEMPLATES) translations
|
||||
go build -o $@ ./cmd/idp.go
|
||||
CGO_ENABLED=0 go build -o $@ ./cmd/idp.go
|
||||
|
||||
clean:
|
||||
rm -f cacert-idp
|
||||
|
|
Loading…
Reference in a new issue