SHA256
1
0
forked from pool/docker
docker/gcc-go-build-static-libgo.patch

11 lines
213 B
Diff
Raw Normal View History

--- hack/make/binary
+++ hack/make/binary
@@ -9,6 +9,7 @@
echo "Building: $DEST/$BINARY_FULLNAME"
go build \
+ -gccgoflags="-static-libgo" \
-o "$DEST/$BINARY_FULLNAME" \
"${BUILDFLAGS[@]}" \
-ldflags "