Source-Changes-HG archive

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

[src/trunk]: src/share/mk 32-bit compat is CPU specific rather than machine.



details:   https://anonhg.NetBSD.org/src/rev/60172d2318be
branches:  trunk
changeset: 749921:60172d2318be
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sun Dec 13 03:06:22 2009 +0000

description:
32-bit compat is CPU specific rather than machine.
So use MACHINE_ARCH instead.

diffstat:

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

diffs (18 lines):

diff -r 33487db48b98 -r 60172d2318be share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Dec 13 01:02:25 2009 +0000
+++ b/share/mk/bsd.own.mk       Sun Dec 13 03:06:22 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.609 2009/12/12 23:45:36 snj Exp $
+#      $NetBSD: bsd.own.mk,v 1.610 2009/12/13 03:06:22 nakayama Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -648,7 +648,7 @@
 #
 # MK* options which have variable defaults.
 #
-.if ${MACHINE} == "amd64" || ${MACHINE} == "sparc64"
+.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "sparc64"
 MKCOMPAT?=     yes
 .else
 # Don't let this build where it really isn't supported.



Home | Main Index | Thread Index | Old Index