summaryrefslogtreecommitdiff
path: root/share
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
parent5977e5cb9dd23394f108c65a6765bb117e06745a (diff)
Temporary disable AFS and Optimizations for m88k.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.own.mk14
-rw-r--r--share/mk/sys.mk7
2 files changed, 15 insertions, 6 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 3f45056d8db..6b2dab6ddea 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.23 1998/09/15 17:24:46 art Exp $
+# $OpenBSD: bsd.own.mk,v 1.24 1999/03/03 05:50:19 smurph Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -20,8 +20,11 @@ YP?= yes
# integrated support for libwrap.
TCP_WRAPPERS?= yes
# Set `AFS` to `yes' to build with AFS support.
+.if (${MACHINE_ARCH} == "m88k")
+AFS?= no
+.else
AFS?= yes
-
+.endif
# where the system object and source trees are kept; can be configurable
# by the user in case they want them in ~/foosrc and ~/fooobj, for example
BSDSRCDIR?= /usr/src
@@ -83,15 +86,16 @@ STATIC?= -static
# don't try to generate PIC versions of libraries on machines
# which don't support PIC.
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \
- (${MACHINE_ARCH} == "vax") || (${MACHINE_ARCH} == "hppa")
+ (${MACHINE_ARCH} == "vax") || (${MACHINE_ARCH} == "hppa") || \
+ (${MACHINE_ARCH} == "m88k")
NOPIC=
.endif
# don't try to generate PROFILED versions of libraries on machines
# which don't support profiling.
# to add this back use the following line
-#.if (${MACHINE_ARCH} == "UNSUPPORTED_ARCH")
-.if 0
+.if (${MACHINE_ARCH} == "m88k")
+#.if 0
NOPROFILE=
.endif
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}