Module Name:    src
Committed By:   christos
Date:           Thu Oct 27 01:21:16 UTC 2016

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
switch x86 to the new binutils


To generate a diff of this commit:
cvs rdiff -u -r1.982 -r1.983 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.982 src/share/mk/bsd.own.mk:1.983
--- src/share/mk/bsd.own.mk:1.982	Wed Oct 26 13:32:46 2016
+++ src/share/mk/bsd.own.mk	Wed Oct 26 21:21:16 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.982 2016/10/26 17:32:46 christos Exp $
+#	$NetBSD: bsd.own.mk,v 1.983 2016/10/27 01:21:16 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -152,7 +152,13 @@ EXTERNAL_GDB_SUBDIR=		/does/not/exist
 #
 # What binutils is used?
 #
+.if \
+    ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "x86_64"
+HAVE_BINUTILS?=	227
+.else
 HAVE_BINUTILS?=	226
+.endif
 
 .if ${HAVE_BINUTILS} == 226
 EXTERNAL_BINUTILS_SUBDIR=	binutils.old

Reply via email to