mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
hack/make/.binary: update link to go source for "pie" support
Keeping it up to date, in case the situation changes. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -43,7 +43,7 @@ source "${MAKEDIR}/.go-autogen"
|
||||
case "$(go env GOOS)/$(go env GOARCH)" in
|
||||
linux/mips* | linux/ppc64)
|
||||
# -buildmode=pie is not supported on Linux mips*, ppc64be
|
||||
# https://github.com/golang/go/blob/go1.23.0/src/internal/platform/supported.go#L189-L197
|
||||
# https://github.com/golang/go/blob/go1.24.3/src/internal/platform/supported.go#L188-L200
|
||||
;;
|
||||
*)
|
||||
BUILDFLAGS+=("-buildmode=pie")
|
||||
|
||||
Reference in New Issue
Block a user