From d579f1ad6fc7439d31df6353c9842f4b523b60ef Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 17 May 2001 15:00:26 +0000 Subject: In the Linux case, if MACHINE_ARCH is unknown set it to LOWER_ARCH (it does seem a little backwards). --- mk/bsd.prefs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 6ae0b95d5ee..e0c2d6e61c2 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.34 2001/05/02 04:53:11 jlam Exp $ +# $NetBSD: bsd.prefs.mk,v 1.35 2001/05/17 15:00:26 abs Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -61,6 +61,7 @@ LOWER_OPSYS?= linux . if !defined(LOWER_ARCH) LOWER_ARCH!= ${UNAME} -m | sed -e 's/[456]86/386/' . endif # !defined(LOWER_ARCH) +MACHINE_ARCH= ${LOWER_ARCH} MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH} . if ${LOWER_ARCH} == "i386" LOWER_VENDOR?= pc -- cgit v1.2.3