Compile the kernel with -Werror and -fno-builtin.
This commit is contained in:
parent
bca85a86b1
commit
b903d705da
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.sparc,v 1.21 1995/06/24 20:47:36 christos Exp $
|
||||
# $NetBSD: Makefile.sparc,v 1.22 1995/09/19 23:26:58 thorpej Exp $
|
||||
|
||||
# @(#)Makefile.sparc 8.1 (Berkeley) 7/19/93
|
||||
# Makefile for 4.4 BSD
|
||||
|
@ -36,7 +36,7 @@ SPARC= ../..
|
|||
|
||||
INCLUDES= -I. -I$S/arch -I$S -I$S/sys
|
||||
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL
|
||||
CFLAGS= ${COPTS} -O2
|
||||
CFLAGS= ${COPTS} -O2 -Werror -fno-builtin
|
||||
|
||||
### find out what to use for libkern
|
||||
.include "$S/lib/libkern/Makefile.inc"
|
||||
|
|
Loading…
Reference in New Issue