diff options
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,6 +33,8 @@ install: go install ./... xinstall: +# TODO: Switch to -static flags once 1.14 is released. +# https://github.com/golang/go/issues/26492 env GOOS=$(XGOOS) GOARCH=$(XGOARCH) CGO_ENABLED=1 \ CC=x86_64-linux-musl-gcc go install -ldflags '-extldflags "-static"' ./... |