summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch')
-rw-r--r--recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch27
1 files changed, 12 insertions, 15 deletions
diff --git a/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch b/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
index c11c6e6a..f198b4ed 100644
--- a/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
+++ b/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
@@ -8,19 +8,16 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
8 hack/make/.binary | 2 +- 8 hack/make/.binary | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-) 9 1 file changed, 1 insertion(+), 1 deletion(-)
10 10
11diff --git a/src/import/components/engine/hack/make/.binary b/src/import/components/engine/hack/make/.binary 11Index: git/src/import/components/engine/hack/make/.binary
12index 53de6749e5..47ab2a754f 100644 12===================================================================
13--- a/src/import/components/engine/hack/make/.binary 13--- git.orig/src/import/components/engine/hack/make/.binary
14+++ b/src/import/components/engine/hack/make/.binary 14+++ git/src/import/components/engine/hack/make/.binary
15@@ -81,7 +81,7 @@ esac 15@@ -81,7 +81,7 @@
16 16
17 echo "Building: $DEST/$BINARY_FULLNAME" 17 echo "Building: $DEST/$BINARY_FULLNAME"
18 echo "GOOS=\"${GOOS}\" GOARCH=\"${GOARCH}\" GOARM=\"${GOARM}\"" 18 echo "GOOS=\"${GOOS}\" GOARCH=\"${GOARCH}\" GOARM=\"${GOARM}\""
19-go build \ 19- go build \
20+${GO} build \ 20+ ${GO} build \
21 -o "$DEST/$BINARY_FULLNAME" \ 21 -o "$DEST/$BINARY_FULLNAME" \
22 "${BUILDFLAGS[@]}" \ 22 "${BUILDFLAGS[@]}" \
23 -ldflags " 23 -ldflags "
24--
252.19.1
26