summaryrefslogtreecommitdiff
path: root/usr.bin/m4/Makefile
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-01-02 23:51:53 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-01-02 23:51:53 +0000
commit42c4e78a278684735598186a318115baebdd5f66 (patch)
tree8bd6f3872129b2f312ebcb6df9f6b21c50f19017 /usr.bin/m4/Makefile
parent4f2a89f58339f4bc15d64311cb6703bd6267351b (diff)
m88k doesn't like optimization on m4.
Diffstat (limited to 'usr.bin/m4/Makefile')
-rw-r--r--usr.bin/m4/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/m4/Makefile b/usr.bin/m4/Makefile
index 18ea68428e3..e1ff6b6ac6b 100644
--- a/usr.bin/m4/Makefile
+++ b/usr.bin/m4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 1999/11/17 15:34:13 espie Exp $
+# $OpenBSD: Makefile,v 1.6 2001/01/02 23:51:52 smurph Exp $
# -DEXTENDED
# if you want the paste & spaste macros.
@@ -7,6 +7,11 @@ PROG= m4
CFLAGS+=-DEXTENDED
CFLAGS+=-W -Wall -Wstrict-prototypes \
-Wno-unused -Wno-char-subscripts -Wno-sign-compare
+# No optimization for m88k
+.if (${MACHINE_ARCH} == "m88k")
+CFLAGS+=-O0
+.endif
+
SRCS= eval.c expr.c look.c main.c misc.c gnum4.c
MAN= m4.1