Source-Changes-HG archive

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

[src/trunk]: src/share/mk convert two pairs of MACHINE_ARCH into two single M...



details:   https://anonhg.NetBSD.org/src/rev/43b71c13c28a
branches:  trunk
changeset: 825842:43b71c13c28a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Aug 01 21:50:36 2017 +0000

description:
convert two pairs of MACHINE_ARCH into two single MACHINE_CPU checks.

diffstat:

 share/mk/bsd.sys.mk |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r b3111eccfb5a -r 43b71c13c28a share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Tue Aug 01 21:40:03 2017 +0000
+++ b/share/mk/bsd.sys.mk       Tue Aug 01 21:50:36 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.271 2017/04/20 09:29:11 ozaki-r Exp $
+#      $NetBSD: bsd.sys.mk,v 1.272 2017/08/01 21:50:36 mrg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -114,10 +114,8 @@
 .endif
 .if (defined(HAVE_GCC) \
      && (${MACHINE_ARCH} == "coldfire" || \
-        ${MACHINE_ARCH} == "sh3eb" || \
-        ${MACHINE_ARCH} == "sh3el" || \
-        ${MACHINE_ARCH} == "m68k" || \
-        ${MACHINE_ARCH} == "m68000"))
+        ${MACHINE_CPU} == "sh3" || \
+        ${MACHINE_CPU} == "m68k"))
 # XXX GCC 4.5 for sh3 and m68k (which we compile with -Os) is extra noisy for
 # cases it should be better with
 CFLAGS+=       -Wno-uninitialized



Home | Main Index | Thread Index | Old Index