summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-02-20 01:00:27 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-02-20 01:00:27 +0000
commit5dec4a8cac24ecbf7741941873f8dc81fe508cc2 (patch)
treeea1e9d81449e5c02b52412affb893221a9057dea /gnu/usr.bin
parent626f4b186a5ae2f902b8e2ddb9728e75996b4284 (diff)
Skip building gdb on aarch64 there is no support for it.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 1cc0484052b..fc125c08c8e 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.57 2017/01/29 03:48:08 jsg Exp $
+# $OpenBSD: Makefile,v 1.58 2017/02/20 01:00:26 jsg Exp $
# $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $
.include <bsd.own.mk>
@@ -17,7 +17,11 @@ SUBDIR+= clang
SUBDIR+= cxxfilt cvs
# binutils-2.17 needs to build gdb in binutils at the moment
+.if make(obj)
+SUBDIR+= binutils
+.elif ${MACHINE_CPU} != "aarch64"
SUBDIR+= binutils
+.endif
SUBDIR+= binutils-2.17
# Do these last; texinfo builds the info 'dir' file, perl must be after binutils