From a0067f51183d8b472112a095c7c0d32145ff98b3 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 3 Feb 2010 20:49:02 +0000 Subject: Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@ --- gnu/usr.sbin/sendmail/libsmutil/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/usr.sbin') diff --git a/gnu/usr.sbin/sendmail/libsmutil/Makefile b/gnu/usr.sbin/sendmail/libsmutil/Makefile index 8eb8633b89d..a4decc6458b 100644 --- a/gnu/usr.sbin/sendmail/libsmutil/Makefile +++ b/gnu/usr.sbin/sendmail/libsmutil/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.5 2004/11/02 21:12:15 pefo Exp $ +# $OpenBSD: Makefile,v 1.6 2010/02/03 20:49:00 miod Exp $ LIB= smutil SRCS= debug.c err.c lockfile.c safefile.c snprintf.c cf.c ENVDEF= -DNOT_SENDMAIL -.if ${MACHINE_ARCH} == mips64 +.if ${MACHINE_CPU} == mips64 CFLAGS+= -fno-stack-protector .endif -- cgit v1.2.3