changeset 641:db25aa0380d9

PR1553: Add Debian AArch64 support
author andrew
date Wed, 04 Sep 2013 17:52:30 +0100
parents 92ba644f82df
children 98f4e72a6c49
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	Wed Sep 04 17:48:23 2013 +0100
+++ b/make/common/shared/Platform.gmk	Wed Sep 04 17:52:30 2013 +0100
@@ -154,7 +154,7 @@
   # Arch and OS name/version
   mach := $(shell uname -m)
   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) \