summaryrefslogtreecommitdiff
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-02-06 23:49:11 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-02-06 23:49:11 +0000
commit2d4603e991d64d987a63d304cd8b2fea18b9477a (patch)
treede251065abd3fcd9bc1655a90e8840db18727767 /libexec/ftpd/Makefile
parentc543e78d580e70c8e906d10beb85c20c6fe6412e (diff)
Ok this is to work around a compiler bug in the powerpc port, but
without this a clean build does not work.
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile6
1 files changed, 5 insertions, 1 deletions
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