Compile the kernel with -Werror and -fno-builtin.

This commit is contained in:
thorpej 1995-09-19 23:30:54 +00:00
parent a7417b3ca6
commit 065ee11549
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pmax,v 1.15 1995/06/24 20:46:54 christos Exp $ # $NetBSD: Makefile.pmax,v 1.16 1995/09/19 23:30:54 thorpej Exp $
# @(#)Makefile.pmax 8.2 (Berkeley) 2/16/94 # @(#)Makefile.pmax 8.2 (Berkeley) 2/16/94
# #
@ -33,9 +33,9 @@ INCLUDES= -I. -I$S/arch -I$S -I$S/sys
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax -D__NetBSD__ ${GP} COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax -D__NetBSD__ ${GP}
CPPOPTS=${INCLUDES} ${IDENT} -D_KERNEL -Dpmax -D__NetBSD__ CPPOPTS=${INCLUDES} ${IDENT} -D_KERNEL -Dpmax -D__NetBSD__
.ifdef DEBUG .ifdef DEBUG
CFLAGS= ${DEBUG} ${COPTS} CFLAGS= ${DEBUG} -Werror -fno-builtin ${COPTS}
.else .else
CFLAGS= -O2 ${COPTS} CFLAGS= -O2 -Werror -fno-builtin ${COPTS}
.endif .endif
### find out what to use for libkern ### find out what to use for libkern