summaryrefslogtreecommitdiff
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>1999-03-03 05:50:20 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>1999-03-03 05:50:20 +0000
commit9fff90886666502575122a97df99d66dfdf18925 (patch)
tree9391efb6386ec6e7c9154aeec2c358f0886917df /share/mk/sys.mk
parent5977e5cb9dd23394f108c65a6765bb117e06745a (diff)
Temporary disable AFS and Optimizations for m88k.
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index d437b5439af..5a4aea85797 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: sys.mk,v 1.19 1999/02/28 06:25:34 deraadt Exp $
+# $OpenBSD: sys.mk,v 1.20 1999/03/03 05:50:19 smurph Exp $
# $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $
# @(#)sys.mk 5.11 (Berkeley) 3/13/91
@@ -31,7 +31,12 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS} -c
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
+
+.if (${MACHINE_ARCH} == "m88k")
+CFLAGS?= -O0 ${PIPE} ${DEBUG}
+.else
CFLAGS?= -O2 ${PIPE} ${DEBUG}
+.endif
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}