summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-02-20 01:00:26 +0000
committerjsg <jsg@openbsd.org>2017-02-20 01:00:26 +0000
commit3d3f3a5dadaa0d41f592124335151bf9c8a22c3e (patch)
tree45ddb9a4ee2a6a747f0a69d015281f72568b1b22
parentrevert 1.206 because it allows deadlocks. (diff)
downloadwireguard-openbsd-3d3f3a5dadaa0d41f592124335151bf9c8a22c3e.tar.xz
wireguard-openbsd-3d3f3a5dadaa0d41f592124335151bf9c8a22c3e.zip
Skip building gdb on aarch64 there is no support for it.
-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