commit:     3129d67a8391aa393e56622410f0d94d61259bde
Author:     Steev Klimaszewski <steev <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  4 19:04:49 2016 +0000
Commit:     Stephen Klimaszewski <steev <AT> gentoo <DOT> org>
CommitDate: Mon Jul  4 19:04:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3129d67a

sys-process/criu: Fix passing arch to fix build on arm64

Upstream wants to do the aarch64 replacement themselves, so don't pass aarch64
in the ebuild, otherwise we end up with the following type error:

make -j8 -l10 CC=aarch64-unknown-linux-gnu-gcc LD=aarch64-unknown-linux-gnu-ld 
OBJCOPY=aarch64-unknown-linux-gnu-objcopy LIBDIR=/usr/lib64 ARCH=aarch64 V=1 
WERROR=0 DEBUG=0 SETPROCTITLE=no PYCRIU=no all docs
Makefile:29: *** "The architecture aarch64 isn't supported".  Stop.

Package-Manager: portage-2.3.0

 sys-process/criu/criu-2.3.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-process/criu/criu-2.3.ebuild b/sys-process/criu/criu-2.3.ebuild
index 971a670..d67ab07 100644
--- a/sys-process/criu/criu-2.3.ebuild
+++ b/sys-process/criu/criu-2.3.ebuild
@@ -47,7 +47,6 @@ criu_arch() {
        # criu infers the arch from $(uname -m).  We never want this to happen.
        case ${ARCH} in
        amd64) echo "x86";;
-       arm64) echo "aarch64";;
        *)     echo "${ARCH}";;
        esac
 }

Reply via email to