summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/mk/sys.mk4
-rw-r--r--sys/arch/vax/conf/Makefile.vax4
2 files changed, 4 insertions, 4 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 37cc2f356f1..66e57ca7b99 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: sys.mk,v 1.27 2001/09/11 13:11:18 deraadt Exp $
+# $OpenBSD: sys.mk,v 1.28 2002/02/23 18:34:50 deraadt Exp $
# $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $
# @(#)sys.mk 5.11 (Berkeley) 3/13/91
@@ -32,7 +32,7 @@ LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
-.if (${MACHINE_ARCH} == "m88k") || (${MACHINE_ARCH} == "vax")
+.if (${MACHINE_ARCH} == "m88k")
CFLAGS?= -O0 ${PIPE} ${DEBUG}
.else
CFLAGS?= -O2 ${PIPE} ${DEBUG}
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index b28f5d1debc..15156de6c26 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.vax,v 1.16 2001/07/15 13:10:51 assar Exp $
+# $OpenBSD: Makefile.vax,v 1.17 2002/02/23 18:34:50 deraadt Exp $
# $NetBSD: Makefile.vax,v 1.49 1999/07/26 05:20:49 cgd Exp $
# Makefile for OpenBSD/vax
@@ -66,7 +66,7 @@ SIZE?= size
.endif
TSORT?= tsort -q
-COPTS?= -O0
+COPTS?= -O2
# source tree is located via $S relative to the compilation directory
.ifndef S