changeset 6319:b3846cc85e15

PR1553: Add Debian AArch64 support
author andrew
date Wed, 04 Sep 2013 17:53:23 +0100
parents b37ac011ed13
children 3297163636bf
files make/common/shared/Platform.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/shared/Platform.gmk	Fri Oct 04 16:41:37 2013 +0100
+++ b/make/common/shared/Platform.gmk	Wed Sep 04 17:53:23 2013 +0100
@@ -161,7 +161,7 @@
     mach := $(shell uname -m)
   endif
   ifneq (,$(wildcard /usr/bin/dpkg-architecture))
-    mach := $(shell (dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/powerpc$$/ppc/;s/hppa/parisc/')
+    mach := $(shell (dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/arm64/aarch64/;s/powerpc$$/ppc/;s/hppa/parisc/')
   endif
   archExpr = case "$(mach)" in \
                 i[3-9]86) \