diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-05-13 22:45:12 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-05-13 22:45:12 +0000 |
commit | 0813bddc089dc1133696d2a9692366523cfa4015 (patch) | |
tree | 243d3845592d5261188bcdf116f9979bdc311805 /sys/arch/mac68k/conf/Makefile.mac68k | |
parent | d4d555e924e183fd9573e15c39d88d4bdd146f4d (diff) |
Add option NO_PROPOLICE, which explicitely disables the use of the propolice
stack protection when building kernels. Intended to be used on installation
media, with tight space constraints - currently, only added where
SMALL_KERNEL was already defined.
Not thoroughly tested, but requested by deraadt.
Diffstat (limited to 'sys/arch/mac68k/conf/Makefile.mac68k')
-rw-r--r-- | sys/arch/mac68k/conf/Makefile.mac68k | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k index c3ccb0d7084..698e11f74ee 100644 --- a/sys/arch/mac68k/conf/Makefile.mac68k +++ b/sys/arch/mac68k/conf/Makefile.mac68k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mac68k,v 1.30 2003/05/13 06:12:43 tedu Exp $ +# $OpenBSD: Makefile.mac68k,v 1.31 2003/05/13 22:45:10 miod Exp $ # $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $ # Makefile for OpenBSD @@ -41,6 +41,9 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \ CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main CMACHFLAGS= -msoft-float +.if ${IDENT:M-DNO_PROPOLICE} +CMACHFLAGS+= -fno-stack-protector +.endif COPTS?= -O2 CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE} AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE |