diff --git a/sbin/newfs/Makefile b/sbin/newfs/Makefile index df840027be29..8367d2b63436 100644 --- a/sbin/newfs/Makefile +++ b/sbin/newfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2002/01/04 11:30:33 lukem Exp $ +# $NetBSD: Makefile,v 1.21 2002/01/06 23:09:47 lukem Exp $ # @(#)Makefile 8.2 (Berkeley) 3/27/94 PROG= newfs @@ -18,3 +18,10 @@ LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs MLINKS= mount_mfs.8 mfs.8 .include + +.if (${MACHINE} == "alpha") +# +# XXX gcc 2.95.3 with -O2 (the default) generates a non-functional newfs +# +CFLAGS+= -O1 +.endif