diff options
author | Martin Polden <mpolden@mpolden.no> | 2019-12-31 14:51:57 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2019-12-31 14:53:21 +0100 |
commit | dfd6d92413ee309766f2de30a6fe643ac250c6d5 (patch) | |
tree | 474afed916c4e40a74c3a9ed50d3eccfc6aa21fc | |
parent | 95704311d13bf6509bfd78b1fc9f8f30bfed3137 (diff) |
Add TODO for switching to -static flag
-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"' ./... |