Ok this is to work around a compiler bug in the powerpc port, but
authorrahnds <rahnds@openbsd.org>
Thu, 6 Feb 1997 23:49:10 +0000 (23:49 +0000)
committerrahnds <rahnds@openbsd.org>
Thu, 6 Feb 1997 23:49:10 +0000 (23:49 +0000)
without this a clean build does not work.

libexec/ftpd/Makefile

index 1b12d02..bb991bd 100644 (file)
@@ -1,8 +1,12 @@
-#      $OpenBSD: Makefile,v 1.7 1996/08/07 03:27:53 downsj Exp $
+#      $OpenBSD: Makefile,v 1.8 1997/02/06 23:49:10 rahnds Exp $
 #      $NetBSD: Makefile,v 1.13 1996/02/16 02:07:41 cgd Exp $
 #      @(#)Makefile    8.2 (Berkeley) 4/4/94
 
 PROG=  ftpd
+.ifdef (${MACHINE} == "powerpc")
+# bug in compiler causes ftpd.o to fail to compile with optimization.
+CFLAGS= ${DEBUG}
+.endif
 CFLAGS+=-DHASSETPROCTITLE -Dunix
 SRCS=  ftpd.c ftpcmd.c logutmp.c logwtmp.c popen.c
 MAN=   ftpd.8