summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2007-07-09 16:37:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2007-07-09 16:37:51 +0000
commit08bfd6050b319bf088033a11a215734c539620e2 (patch)
treeefecba3a74148723ccb6fe47e737c79b86cd87c0 /sbin
parentfdeb774d6923291e2bff69f28c2135ec3faa9bfc (diff)
Use -O1 for m68k to work around a gcc optimizer bug
Diffstat (limited to 'sbin')
-rw-r--r--sbin/growfs/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/growfs/Makefile b/sbin/growfs/Makefile
index 7b7faf3ce52..6d3d94996ca 100644
--- a/sbin/growfs/Makefile
+++ b/sbin/growfs/Makefile
@@ -2,7 +2,7 @@
#
# $TSHeader: src/sbin/growfs/Makefile,v 1.4 2000/12/05 19:45:24 tomsoft Exp $
# $FreeBSD: src/sbin/growfs/Makefile,v 1.4 2001/12/04 02:19:47 obrien Exp $
-# $OpenBSD: Makefile,v 1.4 2007/07/09 11:14:50 millert Exp $
+# $OpenBSD: Makefile,v 1.5 2007/07/09 16:37:50 millert Exp $
#
PROG= growfs
@@ -10,6 +10,9 @@ SRCS= growfs.c
MAN= growfs.8
#CFLAGS+=-Wall
+.if (${MACHINE_ARCH} == "m68k")
+CFLAGS+= -O1
+.endif
DPADD= ${LIBUTIL}
LDADD= -lutil