Set -Wno-error on a per-source basis instead of the NOGCCERROR sledgehammer.
This commit is contained in:
parent
1701924009
commit
772de66405
@ -1,6 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.18 2004/04/03 22:16:27 he Exp $
|
||||
|
||||
NOGCCERROR= # defined
|
||||
# $NetBSD: Makefile,v 1.19 2005/01/01 13:56:21 lukem Exp $
|
||||
|
||||
PROG= ipfstat
|
||||
SRCS= ipfstat.c
|
||||
|
@ -1,6 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.29 2004/10/01 15:26:35 christos Exp $
|
||||
|
||||
NOGCCERROR= # defined
|
||||
# $NetBSD: Makefile,v 1.30 2005/01/01 13:56:21 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -16,6 +14,8 @@ CPPFLAGS+= -DIPFILTER_LOG -DIPFILTER_LOOKUP \
|
||||
-DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -D_RADIX_H_ \
|
||||
-I.
|
||||
|
||||
CPPFLAGS.radix.c= -Wno-error
|
||||
|
||||
.PATH: ${NETBSDSRCDIR}/sys/dist/ipf/netinet
|
||||
|
||||
DPSRCS+= ipnat_l.h ipnat_y.h ippool_l.h ippool_y.h ipf_l.h ipf_y.h
|
||||
|
@ -1,6 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.23 2004/03/31 00:34:32 lukem Exp $
|
||||
|
||||
NOGCCERROR= # defined
|
||||
# $NetBSD: Makefile,v 1.24 2005/01/01 13:56:21 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.3 2004/05/23 02:24:52 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2005/01/01 13:56:21 lukem Exp $
|
||||
|
||||
MKPRIVATELIB= yes
|
||||
USE_SHLIBDIR= yes
|
||||
|
||||
NOGCCERROR= # defined
|
||||
|
||||
LIB= ipf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user