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 | 2 |
1 files changed, 1 insertions, 1 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 971c60d7..c6edaf46 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 | |||
@@ -17,7 +17,7 @@ Index: git/src/import/hack/make/.binary | |||
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 -trimpath \ |
21 | -o "$DEST/$BINARY_FULLNAME" \ | 21 | -o "$DEST/$BINARY_FULLNAME" \ |
22 | "${BUILDFLAGS[@]}" \ | 22 | "${BUILDFLAGS[@]}" \ |
23 | -ldflags " | 23 | -ldflags " |