diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 06:49:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 06:49:56 +0000 |
commit | 0bfd5c1083b57afe3844e23f9ae36a047de1f87e (patch) | |
tree | d35354c81857a6a8648ab9407c30db08da90e7b0 /sys/arch | |
parent | 456310b08535d37855e7944dde48769d26b096db (diff) |
do not use -fno-builtin for kernels; the reasons why are manifold
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/conf/Makefile.alpha | 2 | ||||
-rw-r--r-- | sys/arch/amiga/conf/Makefile.amiga | 2 | ||||
-rw-r--r-- | sys/arch/mac68k/conf/Makefile.mac68k | 2 | ||||
-rw-r--r-- | sys/arch/pc532/conf/Makefile.pc532 | 2 | ||||
-rw-r--r-- | sys/arch/pmax/conf/Makefile.pmax | 4 | ||||
-rw-r--r-- | sys/arch/sparc/conf/Makefile.sparc | 2 | ||||
-rw-r--r-- | sys/arch/sun3/conf/Makefile.sun3 | 2 | ||||
-rw-r--r-- | sys/arch/vax/conf/Makefile.vax | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha index c31935ace73..4d1ef6f0cb8 100644 --- a/sys/arch/alpha/conf/Makefile.alpha +++ b/sys/arch/alpha/conf/Makefile.alpha @@ -34,7 +34,7 @@ ALPHA= ../.. INCLUDES= -I. -I$S/arch -I$S -I$S/sys COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -CFLAGS= -Werror -fno-builtin -mno-fp-regs ${DEBUG} ${COPTS} -Dalpha +CFLAGS= -Werror -mno-fp-regs ${DEBUG} ${COPTS} -Dalpha AFLAGS= ${COPTS} ### find out what to use for libkern diff --git a/sys/arch/amiga/conf/Makefile.amiga b/sys/arch/amiga/conf/Makefile.amiga index b00139375aa..e5967cdc5b9 100644 --- a/sys/arch/amiga/conf/Makefile.amiga +++ b/sys/arch/amiga/conf/Makefile.amiga @@ -35,7 +35,7 @@ AMIGA= ../.. INCLUDES= -I. -I$S/arch -I$S -I$S/sys COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Damiga -CFLAGS= -O -Werror -fno-builtin -mc68020 -m68881 ${COPTS} +CFLAGS= -O -Werror -mc68020 -m68881 ${COPTS} ### find out what to use for libkern .include "$S/lib/libkern/Makefile.inc" diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k index 5765e26f3e5..c960dd25725 100644 --- a/sys/arch/mac68k/conf/Makefile.mac68k +++ b/sys/arch/mac68k/conf/Makefile.mac68k @@ -35,7 +35,7 @@ MAC68K= ../.. INCLUDES= -I. -I$S/arch -I$S -I$S/sys COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -DREFBIT -Dmac68k -CFLAGS= -O -Werror -fno-builtin ${COPTS} +CFLAGS= -O -Werror ${COPTS} ### Find out what to use for libkern. .include "$S/lib/libkern/Makefile.inc" diff --git a/sys/arch/pc532/conf/Makefile.pc532 b/sys/arch/pc532/conf/Makefile.pc532 index a1fd431b9bd..26283e7f2d9 100644 --- a/sys/arch/pc532/conf/Makefile.pc532 +++ b/sys/arch/pc532/conf/Makefile.pc532 @@ -39,7 +39,7 @@ PC532= ../.. INCLUDES= -I. -I$S -I$S/sys -I${PC532} COPTS= ${INCLUDES} ${IDENT} -D_KERNEL ASFLAGS= -CFLAGS= -O -Werror -fno-builtin -msb ${COPTS} +CFLAGS= -O -Werror -msb ${COPTS} ### find out what to use for libkern .include "$S/lib/libkern/Makefile.inc" diff --git a/sys/arch/pmax/conf/Makefile.pmax b/sys/arch/pmax/conf/Makefile.pmax index ef37337c94c..56aa6778934 100644 --- a/sys/arch/pmax/conf/Makefile.pmax +++ b/sys/arch/pmax/conf/Makefile.pmax @@ -33,9 +33,9 @@ INCLUDES= -I. -I$S/arch -I$S -I$S/sys COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax -D__NetBSD__ ${GP} CPPOPTS=${INCLUDES} ${IDENT} -D_KERNEL -Dpmax -D__NetBSD__ .ifdef DEBUG -CFLAGS= ${DEBUG} -Werror -fno-builtin ${COPTS} +CFLAGS= ${DEBUG} -Werror ${COPTS} .else -CFLAGS= -O2 -Werror -fno-builtin ${COPTS} +CFLAGS= -O2 -Werror ${COPTS} .endif ### find out what to use for libkern diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc index 9f0bf606a4e..b812cd783b7 100644 --- a/sys/arch/sparc/conf/Makefile.sparc +++ b/sys/arch/sparc/conf/Makefile.sparc @@ -36,7 +36,7 @@ SPARC= ../.. INCLUDES= -I. -I$S/arch -I$S -I$S/sys COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -CFLAGS= ${COPTS} -O2 -Werror -fno-builtin +CFLAGS= ${COPTS} -O2 -Werror ### find out what to use for libkern .include "$S/lib/libkern/Makefile.inc" diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3 index c7379981a6e..658532698c5 100644 --- a/sys/arch/sun3/conf/Makefile.sun3 +++ b/sys/arch/sun3/conf/Makefile.sun3 @@ -35,7 +35,7 @@ SUN3= ../.. INCLUDES= -I. -I../.. -I$S/arch -I$S/sys -I$S COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dsun3 # We do NOT want accidental FP instructions in the kernel. -CFLAGS= -Werror -fno-builtin -msoft-float ${DEBUG} ${COPTS} +CFLAGS= -Werror -msoft-float ${DEBUG} ${COPTS} # What to use for libkern: .include "$S/lib/libkern/Makefile.inc" diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax index ba04c06ccb5..0443a62c2e0 100644 --- a/sys/arch/vax/conf/Makefile.vax +++ b/sys/arch/vax/conf/Makefile.vax @@ -30,7 +30,7 @@ VAX= ../.. INCLUDES= -I. -I$S/arch -I$S -I$S/sys COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -D_VAX_INLINE_ AOPTS= ${COPTS} -DASSEMBLER -CFLAGS= -Werror -fno-builtin ${COPTS} +CFLAGS= -Werror ${COPTS} LOAD_ADDRESS=80000000 ### find out what to use for libkern |