summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-09-17 23:43:41 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-09-17 23:43:41 +0000
commit65a3064686f24d918ac7db08407e7f8b59523485 (patch)
treef8a497dd3cad319b4b35b5777161322fff5fbee6
parent2bf8bcd2ab23cb3768533da3b8e24b536fda5a3d (diff)
alpha does not survive -O2 compiles here
-rw-r--r--usr.sbin/ypserv/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/Makefile.inc b/usr.sbin/ypserv/Makefile.inc
index 4deedff1aa1..d0f58ceeff4 100644
--- a/usr.sbin/ypserv/Makefile.inc
+++ b/usr.sbin/ypserv/Makefile.inc
@@ -1,3 +1,6 @@
-# $OpenBSD: Makefile.inc,v 1.3 1997/09/21 11:44:38 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.4 1998/09/17 23:43:40 niklas Exp $
BINDIR?= /usr/sbin
+.if (${MACHINE_ARCH} == "alpha")
+CFLAGS:= ${CFLAGS:S/^-O2$/-O/}
+.endif