summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1997-04-19 05:13:26 +0000
committerthorpej <thorpej@NetBSD.org>1997-04-19 05:13:26 +0000
commit85ea5d090fa616dcaf2b76b0b781a613ed10c29a (patch)
tree3f5b83bca2b48719ba451a33eb299b8125cbb0cd /libexec
parente66130db206a047caf6424c0d02405212659ad1f (diff)
Don't compile this with -O on the PowerPC - cc1 cores.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 8d74b9439a0..ccc3f9e3745 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 1997/03/30 22:53:36 cjs Exp $
+# $NetBSD: Makefile,v 1.15 1997/04/19 05:13:26 thorpej Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
# uncomment this to disallow group directory owners access to uploaded files
@@ -6,6 +6,11 @@
# uncomment this to enable umask, rm and other commands for anonymous users
#CFLAGS+= -DINSECURE_GUEST
+# XXX Work-around a compiler bug for now... can't use -O
+.if (${MACHINE_ARCH} == "powerpc")
+CFLAGS=
+.endif
+
PROG= ftpd
CFLAGS+=-DHASSETPROCTITLE -DSKEY -Dunix
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c