diff options
Diffstat (limited to 'recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch')
-rw-r--r-- | recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch b/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch index 9079d81e..e3f20a3a 100644 --- a/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch +++ b/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch | |||
@@ -39,7 +39,7 @@ Index: import/hack/make/.binary | |||
39 | =================================================================== | 39 | =================================================================== |
40 | --- import.orig/hack/make/.binary | 40 | --- import.orig/hack/make/.binary |
41 | +++ import/hack/make/.binary | 41 | +++ import/hack/make/.binary |
42 | @@ -3,7 +3,7 @@ | 42 | @@ -3,7 +3,7 @@ set -e |
43 | 43 | ||
44 | # a helper to provide ".exe" when it's appropriate | 44 | # a helper to provide ".exe" when it's appropriate |
45 | binary_extension() { | 45 | binary_extension() { |
@@ -48,7 +48,7 @@ Index: import/hack/make/.binary | |||
48 | echo -n '.exe' | 48 | echo -n '.exe' |
49 | fi | 49 | fi |
50 | } | 50 | } |
51 | @@ -16,31 +16,10 @@ | 51 | @@ -16,31 +16,10 @@ source "${MAKEDIR}/.go-autogen" |
52 | ( | 52 | ( |
53 | export GOGC=${DOCKER_BUILD_GOGC:-1000} | 53 | export GOGC=${DOCKER_BUILD_GOGC:-1000} |
54 | 54 | ||
@@ -80,8 +80,8 @@ Index: import/hack/make/.binary | |||
80 | + case "$(${GO} env GOOS)/$(${GO} env GOARCH)" in | 80 | + case "$(${GO} env GOOS)/$(${GO} env GOARCH)" in |
81 | linux/mips* | linux/ppc64) | 81 | linux/mips* | linux/ppc64) |
82 | # -buildmode=pie is not supported on Linux mips*, ppc64be | 82 | # -buildmode=pie is not supported on Linux mips*, ppc64be |
83 | # https://github.com/golang/go/blob/go1.23.0/src/internal/platform/supported.go#L189-L197 | 83 | # https://github.com/golang/go/blob/go1.24.3/src/internal/platform/supported.go#L188-L200 |
84 | @@ -67,11 +46,11 @@ | 84 | @@ -67,11 +46,11 @@ source "${MAKEDIR}/.go-autogen" |
85 | # only necessary for non-sandboxed invocation where TARGETPLATFORM is empty | 85 | # only necessary for non-sandboxed invocation where TARGETPLATFORM is empty |
86 | PLATFORM_NAME=$TARGETPLATFORM | 86 | PLATFORM_NAME=$TARGETPLATFORM |
87 | if [ -z "$PLATFORM_NAME" ]; then | 87 | if [ -z "$PLATFORM_NAME" ]; then |
@@ -98,7 +98,7 @@ Index: import/hack/make/.binary | |||
98 | fi | 98 | fi |
99 | fi | 99 | fi |
100 | 100 | ||
101 | @@ -95,7 +74,7 @@ | 101 | @@ -95,7 +74,7 @@ source "${MAKEDIR}/.go-autogen" |
102 | if [ -n "$DOCKER_DEBUG" ]; then | 102 | if [ -n "$DOCKER_DEBUG" ]; then |
103 | set -x | 103 | set -x |
104 | fi | 104 | fi |