diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-02-03 20:49:02 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-02-03 20:49:02 +0000 |
commit | a0067f51183d8b472112a095c7c0d32145ff98b3 (patch) | |
tree | 96321fd1bd5ffaea0d4f16723ebb5a9cc4a139e9 /gnu/usr.sbin/sendmail | |
parent | 7dfb23e53684ac495a4cf9a6a5188a1f91d5885a (diff) |
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@
Diffstat (limited to 'gnu/usr.sbin/sendmail')
-rw-r--r-- | gnu/usr.sbin/sendmail/libsmutil/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |