aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9ad41bb..046d745 100644
--- a/Makefile
+++ b/Makefile
@@ -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"' ./...