From: rahnds Date: Thu, 6 Feb 1997 23:49:10 +0000 (+0000) Subject: Ok this is to work around a compiler bug in the powerpc port, but X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1a9567b3b8088959c42d1ad619f41bd120de1ad3;p=openbsd Ok this is to work around a compiler bug in the powerpc port, but without this a clean build does not work. --- diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index 1b12d02eea4..bb991bd8dc8 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -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