openbsd-20030319

Add -fno-stack-protector to kernel CFLAGS for OpenBSD post-3.2.
This commit is contained in:
Jim Rees 2003-03-19 22:20:31 +00:00
parent e069717085
commit 65b819d0af

View File

@ -12,14 +12,20 @@ include @TOP_OBJDIR@/src/config/Makefile.config
# System specific build commands and flags
KSRC = /usr/src/sys
KDEFS=-Wall -nostdinc -I/usr/include \
-DLKM -DDIAGNOSTIC -DFIFO -DNFSCLIENT -DMFS -DFFS -D_KERNEL -DI586_CPU -DI686_CPU \
-I${KSRC}/sys
DBUG = -O2
KFLAGS= -Wall -nostdinc
<i386_obsd33>
KFLAGS+= -fno-stack-protector
<all>
KDEFS= \
${KFLAGS} \
-I/usr/include -I${KSRC}/sys \
-DLKM -DDIAGNOSTIC -DFIFO -DNFSCLIENT -DMFS -DFFS -D_KERNEL -DI586_CPU \
-DI686_CPU
DBUG=
DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT
OPTF= ${OPT}
OPTF2= ${OPT2}
CFLAGS= ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG}
CFLAGS= ${FSINCLUDES} ${DEFINES} ${KDEFS} ${KOPTS} ${DBUG}
# Name of directory to hold object files and libraries.
KOBJ = MODLOAD