Compile the kernel with -Werror and -fno-builtin.
This commit is contained in:
parent
ad05d707bf
commit
c9dfdd20b6
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.mac68k,v 1.23 1995/07/04 03:30:11 briggs Exp $
|
||||
# $NetBSD: Makefile.mac68k,v 1.24 1995/09/19 23:48:41 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD for the mac
|
||||
# Derived from makefile for hp300 from NetBSD
|
||||
|
@ -35,7 +35,7 @@ MAC68K= ../..
|
|||
|
||||
INCLUDES= -I. -I$S/arch -I$S -I$S/sys
|
||||
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -DREFBIT -Dmac68k
|
||||
CFLAGS= -O ${COPTS}
|
||||
CFLAGS= -O -Werror -fno-builtin ${COPTS}
|
||||
|
||||
### Find out what to use for libkern.
|
||||
.include "$S/lib/libkern/Makefile.inc"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.mvme68k,v 1.2 1995/08/10 19:18:02 chuck Exp $
|
||||
# $NetBSD: Makefile.mvme68k,v 1.3 1995/09/19 23:50:22 thorpej Exp $
|
||||
|
||||
# @(#)Makefile.hp300 8.2 (Berkeley) 1/23/94
|
||||
#
|
||||
|
@ -36,7 +36,7 @@ MVME68K= ../..
|
|||
|
||||
INCLUDES= -I. -I$S/arch -I$S -I$S/sys
|
||||
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dmvme68k -DFPCOPROC
|
||||
CFLAGS= -O ${COPTS}
|
||||
CFLAGS= -O -Werror -fno-builtin ${COPTS}
|
||||
|
||||
### find out what to use for libkern
|
||||
.include "$S/lib/libkern/Makefile.inc"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.pc532,v 1.13 1995/06/24 20:46:09 christos Exp $
|
||||
# $NetBSD: Makefile.pc532,v 1.14 1995/09/19 23:51:40 thorpej Exp $
|
||||
|
||||
# Copyright 1990 W. Jolitz
|
||||
# @(#)Makefile.i386 7.1 5/10/91
|
||||
|
@ -39,7 +39,7 @@ PC532= ../..
|
|||
INCLUDES= -I. -I$S -I$S/sys -I${PC532}
|
||||
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL
|
||||
ASFLAGS=
|
||||
CFLAGS= -O -msb ${COPTS}
|
||||
CFLAGS= -O -Werror -fno-builtin -msb ${COPTS}
|
||||
|
||||
### find out what to use for libkern
|
||||
.include "$S/lib/libkern/Makefile.inc"
|
||||
|
|
Loading…
Reference in New Issue