sys-process/criu: Fix passing arch to fix build on arm64
authorSteev Klimaszewski <steev@gentoo.org>
Mon, 4 Jul 2016 19:04:49 +0000 (14:04 -0500)
committerSteev Klimaszewski <steev@gentoo.org>
Mon, 4 Jul 2016 19:04:49 +0000 (14:04 -0500)
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

index 971a67044fb9a1e4d347ceb117863bc6182c9c6d..d67ab0785488e2c38f814277dd0f5038ef66ce31 100644 (file)
@@ -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
 }