fix disabling of optimization on powerpc (set COPTS *after* <bsd.prog.mk>...)
This commit is contained in:
parent
175e3708a8
commit
6c4ddbba34
|
@ -1,11 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.26 1998/04/09 00:32:36 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.27 1998/04/13 14:24:02 lukem Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
||||
|
||||
# XXX Work-around a compiler bug for now... can't use -O
|
||||
.if (${MACHINE_ARCH} == "powerpc")
|
||||
CFLAGS=
|
||||
.endif
|
||||
|
||||
PROG= ftpd
|
||||
SRCS= conf.c ftpd.c ftpcmd.y logwtmp.c popen.c
|
||||
CPPFLAGS+=-DHASSETPROCTITLE -Dunix
|
||||
|
@ -36,3 +31,8 @@ LDADD+= -lkrb -ldes
|
|||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
# XXX Work-around a compiler bug for now... can't use -O
|
||||
.if (${MACHINE_ARCH} == "powerpc")
|
||||
COPTS+=-O0
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue