summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2014-08-10 05:56:36 +0000
committermatt <matt@NetBSD.org>2014-08-10 05:56:36 +0000
commitaa37019d109cc653e3828a58277d973adfa37ab8 (patch)
tree8baa693a360b794f4fedb771c2c034dfb3d52c92 /libexec
parent67d1b4670c33306186aa6daae835df84d1aca994 (diff)
Changes to existing files to enable building AARCH64 userland.
evbarm64-el This is clang only. While gcc4.8 supports aarch64, no netbsd support has been written for aarch64 with gcc4.8.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.elf_so/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile
index 0c0ca2a6235..18ceb7e4691 100644
--- a/libexec/ld.elf_so/Makefile
+++ b/libexec/ld.elf_so/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.126 2014/03/06 09:34:56 matt Exp $
+# $NetBSD: Makefile,v 1.127 2014/08/10 05:57:31 matt Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -26,7 +26,8 @@ ARCHSUBDIR= ${MACHINE_CPU}
.endif
M= ${.CURDIR}/arch/${ARCHSUBDIR}
-.if ((${LDELFSO_MACHINE_ARCH} == "alpha") || \
+.if ((${MACHINE_CPU} == "aarch64") || \
+ (${LDELFSO_MACHINE_ARCH} == "alpha") || \
(${MACHINE_CPU} == "arm") || \
(${LDELFSO_MACHINE_ARCH} == "coldfire") || \
(${LDELFSO_MACHINE_ARCH} == "hppa") || \