Module Name: src
Committed By: nakayama
Date: Sun Dec 13 03:06:23 UTC 2009
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
32-bit compat is CPU specific rather than machine.
So use MACHINE_ARCH instead.
To generate a diff of this commit:
cvs rdiff -u -r1.609 -r1.610 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.609 src/share/mk/bsd.own.mk:1.610
--- src/share/mk/bsd.own.mk:1.609 Sat Dec 12 23:45:36 2009
+++ src/share/mk/bsd.own.mk Sun Dec 13 03:06:22 2009
@@ -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.