Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk switch x86 to the new binutils



details:   https://anonhg.NetBSD.org/src/rev/1d9496159f63
branches:  trunk
changeset: 818724:1d9496159f63
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 27 01:21:16 2016 +0000

description:
switch x86 to the new binutils

diffstat:

 share/mk/bsd.own.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 1217349ad7ab -r 1d9496159f63 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Wed Oct 26 22:02:14 2016 +0000
+++ b/share/mk/bsd.own.mk       Thu Oct 27 01:21:16 2016 +0000
@@ -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 @@
 #
 # 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



Home | Main Index | Thread Index | Old Index