forked from pool/docker
64062d332d
Add usernamespace support
Add support for custom seccomp profiles
Improvements in network and volume management
detailed changelog in
590d5108bb/CHANGELOG.md
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=58
25 lines
502 B
Diff
25 lines
502 B
Diff
diff --git a/hack/make/gccgo b/hack/make/gccgo
|
|
index 878c814..84b7f69 100644
|
|
--- a/hack/make/gccgo
|
|
+++ b/hack/make/gccgo
|
|
@@ -1,5 +1,5 @@
|
|
#!/bin/bash
|
|
-set -e
|
|
+set -ex
|
|
|
|
BINARY_NAME="docker-$VERSION"
|
|
BINARY_EXTENSION="$(binary_extension)"
|
|
@@ -16,9 +16,11 @@ go build -compiler=gccgo \
|
|
"${BUILDFLAGS[@]}" \
|
|
-gccgoflags "
|
|
-g
|
|
+ -Wl,--add-needed -Wl,--no-as-needed
|
|
$EXTLDFLAGS_STATIC
|
|
+ -static-libgo
|
|
-Wl,--no-export-dynamic
|
|
- -ldl
|
|
+ -ldl -lselinux -lsystemd
|
|
-pthread
|
|
" \
|
|
./docker
|