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/0b47612ec4bf
branches:  trunk
changeset: 1008872:0b47612ec4bf
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 04 20:47:56 2020 +0000

description:
Switch x86 to the new binutils.

diffstat:

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

diffs (21 lines):

diff -r 8c12c17532fe -r 0b47612ec4bf share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Apr 04 20:45:42 2020 +0000
+++ b/share/mk/bsd.own.mk       Sat Apr 04 20:47:56 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1178 2020/04/03 17:57:30 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.1179 2020/04/04 20:47:56 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -169,7 +169,11 @@
 #
 # What binutils is used?
 #
+.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
+HAVE_BINUTILS?=        234
+.else
 HAVE_BINUTILS?=        231
+.endif
 
 .if ${HAVE_BINUTILS} == 234
 EXTERNAL_BINUTILS_SUBDIR=      binutils



Home | Main Index | Thread Index | Old Index