Add WARNS=1 for the sparc and the i386
This commit is contained in:
parent
42a71b4d7b
commit
ca04b1a733
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.66 1997/06/19 06:12:10 mikel Exp $
|
||||
# $NetBSD: Makefile,v 1.67 1997/07/13 18:36:23 christos Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||
#
|
||||
# All library objects contain sccsid strings by default; they may be
|
||||
@ -14,6 +14,9 @@
|
||||
# The YP functions are always in libc. To choose that getpwent() and friends
|
||||
# actually call the YP functions, put -DYP on the CFLAGS line below.
|
||||
|
||||
.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "i386"
|
||||
WARNS=1
|
||||
.endif
|
||||
LIB=c
|
||||
CFLAGS+=-DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I${.CURDIR}/include
|
||||
AINC= -I${.CURDIR}/arch/${MACHINE_ARCH}
|
||||
|
Loading…
Reference in New Issue
Block a user