From 7cb63ac10ffdd5654d5a4b9806c79a1ac107015c Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 30 Dec 2024 20:51:48 -0500 Subject: [PATCH] containerd: fix segfault when crosscompiling fixes: #53763 --- srcpkgs/containerd/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/containerd/template b/srcpkgs/containerd/template index 05ca58b55d4..70644e6f989 100644 --- a/srcpkgs/containerd/template +++ b/srcpkgs/containerd/template @@ -1,7 +1,7 @@ # Template file for 'containerd' pkgname=containerd version=2.0.1 -revision=1 +revision=2 build_style=go build_helper="qemu" go_import_path=github.com/containerd/containerd/v2 @@ -26,6 +26,7 @@ make_dirs="/var/lib/containerd 0755 root root" # Cross builds fail with -fuse-ld=gold LDFLAGS="-fuse-ld=bfd" +export GOFLAGS="-buildmode=pie" post_build() { # Build the man pages