mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 00:41:08 +00:00
openbsd-20030319
Add -fno-stack-protector to kernel CFLAGS for OpenBSD post-3.2.
This commit is contained in:
parent
e069717085
commit
65b819d0af
@ -12,14 +12,20 @@ include @TOP_OBJDIR@/src/config/Makefile.config
|
|||||||
|
|
||||||
# System specific build commands and flags
|
# System specific build commands and flags
|
||||||
KSRC = /usr/src/sys
|
KSRC = /usr/src/sys
|
||||||
KDEFS=-Wall -nostdinc -I/usr/include \
|
KFLAGS= -Wall -nostdinc
|
||||||
-DLKM -DDIAGNOSTIC -DFIFO -DNFSCLIENT -DMFS -DFFS -D_KERNEL -DI586_CPU -DI686_CPU \
|
<i386_obsd33>
|
||||||
-I${KSRC}/sys
|
KFLAGS+= -fno-stack-protector
|
||||||
DBUG = -O2
|
<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
|
DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT
|
||||||
OPTF= ${OPT}
|
OPTF= ${OPT}
|
||||||
OPTF2= ${OPT2}
|
OPTF2= ${OPT2}
|
||||||
CFLAGS= ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG}
|
CFLAGS= ${FSINCLUDES} ${DEFINES} ${KDEFS} ${KOPTS} ${DBUG}
|
||||||
|
|
||||||
# Name of directory to hold object files and libraries.
|
# Name of directory to hold object files and libraries.
|
||||||
KOBJ = MODLOAD
|
KOBJ = MODLOAD
|
||||||
|
Loading…
Reference in New Issue
Block a user