forked from pool/docker
4931d03fff
- rediff ignore-dockerinit-checksum.patch, gcc-go-build-static-libgo.patch to make them apply again. - introduce go_arches for architectures that use the go compiler instead of gcc-go - add docker-netns-aarch64.patch: Add support for AArch64 - enable build for aarch64 OBS-URL: https://build.opensuse.org/request/show/313847 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=14
11 lines
213 B
Diff
11 lines
213 B
Diff
--- 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 "
|