From dfd6d92413ee309766f2de30a6fe643ac250c6d5 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Tue, 31 Dec 2019 14:51:57 +0100 Subject: Add TODO for switching to -static flag --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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"' ./... -- cgit v1.2.3