Module Name: src
Committed By: christos
Date: Sat Apr 4 20:47:56 UTC 2020
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.1178 -r1.1179 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.1178 src/share/mk/bsd.own.mk:1.1179
--- src/share/mk/bsd.own.mk:1.1178 Fri Apr 3 13:57:30 2020
+++ src/share/mk/bsd.own.mk Sat Apr 4 16:47:56 2020
@@ -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 @@ EXTERNAL_GDB_SUBDIR= /does/not/exist
#
# 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