From 92bd81c6044f4c3b404fd62051965b744dc402fc Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 15 Apr 2018 20:08:13 +0000 Subject: [PATCH] switch x86 to binutils-2.30 --- share/mk/bsd.own.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index b27d4617bc72..302596cd7322 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1056 2018/04/14 23:14:12 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1057 2018/04/15 20:08:13 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -162,7 +162,12 @@ EXTERNAL_GDB_SUBDIR= /does/not/exist # # What binutils is used? # +.if ${MACHINE_ARCH} == "x86_64" || \ + ${MACHINE_ARCH} == "i386" +HAVE_BINUTILS?= 230 +.else HAVE_BINUTILS?= 227 +.endif .if ${HAVE_BINUTILS} == 230 EXTERNAL_BINUTILS_SUBDIR= binutils