Make the definition of CRUNCHOPS independent of SMALLPROG_INET6 / USE_INET6.
Distrib/sparc64/instfs now builds again.
This commit is contained in:
parent
dce33a3d49
commit
4d6cf788fb
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.31 2010/12/13 21:47:32 pooka Exp $
|
||||
# $NetBSD: Makefile,v 1.32 2010/12/14 17:07:08 hannken Exp $
|
||||
# Build a smaller ifconfig (i.e. for boot media)
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
@ -8,8 +8,9 @@ NOMAN= # defined
|
|||
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
|
||||
|
||||
|
||||
CPPFLAGS+= -DCRUNCHOPS
|
||||
.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
|
||||
CPPFLAGS+= -DINET6 -DCRUNCHOPS
|
||||
CPPFLAGS+= -DINET6
|
||||
SRCS+= af_inet6.c
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue