From 1a9567b3b8088959c42d1ad619f41bd120de1ad3 Mon Sep 17 00:00:00 2001 From: rahnds Date: Thu, 6 Feb 1997 23:49:10 +0000 Subject: [PATCH] Ok this is to work around a compiler bug in the powerpc port, but without this a clean build does not work. --- libexec/ftpd/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1