mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
app-emulation/docker: update ppc64 buildmode patch for docker 20.10.23
Docker 20.10.23 has changes around hack/make/.binary, so it is necessary to adapt the ppc64 buildmode patch to make the build pass again.
This commit is contained in:
parent
f675fe298d
commit
1c9bb64e35
@ -17,14 +17,14 @@ index 5ea3e373f2..7a911de15a 100644
|
|||||||
--- a/hack/make/.binary
|
--- a/hack/make/.binary
|
||||||
+++ b/hack/make/.binary
|
+++ b/hack/make/.binary
|
||||||
@@ -70,7 +70,7 @@ hash_files() {
|
@@ -70,7 +70,7 @@ hash_files() {
|
||||||
|
if [[ " $BUILDFLAGS " != *" -race "* ]]; then
|
||||||
|
# -buildmode=pie is not supported on Windows and Linux on mips and riscv64.
|
||||||
|
case "$(go env GOOS)/$(go env GOARCH)" in
|
||||||
|
- windows/* | linux/mips* | linux/riscv*) ;;
|
||||||
|
+ windows/* | linux/mips* | linux/riscv* | linux/ppc64) ;;
|
||||||
|
|
||||||
# -buildmode=pie is not supported on Windows and Linux on mips and riscv64.
|
*)
|
||||||
case "$(go env GOOS)/$(go env GOARCH)" in
|
BUILDFLAGS+=("-buildmode=pie")
|
||||||
- windows/* | linux/mips* | linux/riscv*) ;;
|
|
||||||
+ windows/* | linux/mips* | linux/riscv* | linux/ppc64) ;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
BUILDFLAGS+=("-buildmode=pie")
|
|
||||||
--
|
--
|
||||||
2.32.0
|
2.32.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user