Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Sort in the binutils version selection
details: https://anonhg.NetBSD.org/src/rev/7291d4d300e9
branches: trunk
changeset: 373057:7291d4d300e9
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Jan 15 10:54:56 2023 +0000
description:
Sort in the binutils version selection
diffstat:
share/mk/bsd.own.mk | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (26 lines):
diff -r ff04419ef02e -r 7291d4d300e9 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sun Jan 15 10:51:04 2023 +0000
+++ b/share/mk/bsd.own.mk Sun Jan 15 10:54:56 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1294 2023/01/15 10:51:04 skrll Exp $
+# $NetBSD: bsd.own.mk,v 1.1295 2023/01/15 10:54:56 skrll Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -98,11 +98,12 @@
#
# What binutils is used?
#
-.if ${MACHINE_ARCH} == "x86_64" || \
- ${MACHINE_ARCH} == "i386" || \
+.if \
+ !empty(MACHINE_ARCH:Maarch64*) || \
${MACHINE_ARCH} == "alpha" || \
- !empty(MACHINE_ARCH:Maarch64*) || \
- !empty(MACHINE_ARCH:Msparc*)
+ ${MACHINE_ARCH} == "i386" || \
+ !empty(MACHINE_ARCH:Msparc*) || \
+ ${MACHINE_ARCH} == "x86_64"
HAVE_BINUTILS?= 239
.else
HAVE_BINUTILS?= 234
Home |
Main Index |
Thread Index |
Old Index