diff options
Diffstat (limited to 'recipes-containers/docker/docker-ce/0001-cli-use-go-cross-compiler.patch')
| -rw-r--r-- | recipes-containers/docker/docker-ce/0001-cli-use-go-cross-compiler.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/recipes-containers/docker/docker-ce/0001-cli-use-go-cross-compiler.patch b/recipes-containers/docker/docker-ce/0001-cli-use-go-cross-compiler.patch deleted file mode 100644 index d9924112..00000000 --- a/recipes-containers/docker/docker-ce/0001-cli-use-go-cross-compiler.patch +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | From ae6f4a1e685394fb7b9539f134b66ca84ddc91c2 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 3 | Date: Tue, 30 Jun 2020 22:19:56 -0400 | ||
| 4 | Subject: [PATCH] cli: use go cross compiler | ||
| 5 | |||
| 6 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 7 | --- | ||
| 8 | git/cli/scripts/build/dynbinary | 2 +- | ||
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 10 | |||
| 11 | diff --git git/src/import/components/cli/scripts/build/dynbinary git/src/import/components/cli/scripts/build/dynbinary | ||
| 12 | index 4feb7e71d8..f990d0e040 100755 | ||
| 13 | --- git/src/import/components/cli/scripts/build/dynbinary | ||
| 14 | +++ git/src/import/components/cli/scripts/build/dynbinary | ||
| 15 | @@ -9,6 +9,6 @@ source ./scripts/build/.variables | ||
| 16 | |||
| 17 | echo "Building dynamically linked $TARGET" | ||
| 18 | export CGO_ENABLED=1 | ||
| 19 | -go build -o "${TARGET}" -tags pkcs11 --ldflags "${LDFLAGS}" -buildmode=pie "${SOURCE}" | ||
| 20 | +${GO} build -o "${TARGET}" -tags pkcs11 --ldflags "${LDFLAGS}" -buildmode=pie "${SOURCE}" | ||
| 21 | |||
| 22 | ln -sf "$(basename "${TARGET}")" build/docker | ||
| 23 | -- | ||
| 24 | 2.19.1 | ||
| 25 | |||
