diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-05-13 06:12:45 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-05-13 06:12:45 +0000 |
commit | 1b45e70fdf3705f10311e36d1e61ab4c1efe1f8b (patch) | |
tree | de21282208d3446f75450dfee3a6b2cae3b8e10d | |
parent | 22a330f3fea3925c8b1a1cc59340c512e70867c0 (diff) |
remove -fno-stack-protector (enable propolice)
ok deraadt@
-rw-r--r-- | sys/arch/alpha/conf/Makefile.alpha | 4 | ||||
-rw-r--r-- | sys/arch/hp300/conf/Makefile.hp300 | 4 | ||||
-rw-r--r-- | sys/arch/i386/conf/Makefile.i386 | 3 | ||||
-rw-r--r-- | sys/arch/mac68k/conf/Makefile.mac68k | 4 | ||||
-rw-r--r-- | sys/arch/macppc/conf/Makefile.macppc | 4 | ||||
-rw-r--r-- | sys/arch/mvme68k/conf/Makefile.mvme68k | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/conf/Makefile.mvme88k | 3 | ||||
-rw-r--r-- | sys/arch/mvmeppc/conf/Makefile.mvmeppc | 4 | ||||
-rw-r--r-- | sys/arch/sparc/conf/Makefile.sparc | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/conf/Makefile.sparc64 | 2 | ||||
-rw-r--r-- | sys/arch/vax/conf/Makefile.vax | 3 |
11 files changed, 17 insertions, 21 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha index 8a286b1577d..8c0096726cd 100644 --- a/sys/arch/alpha/conf/Makefile.alpha +++ b/sys/arch/alpha/conf/Makefile.alpha @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.alpha,v 1.27 2002/12/25 21:10:23 miod Exp $ +# $OpenBSD: Makefile.alpha,v 1.28 2003/05/13 06:12:43 tedu Exp $ # $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $ # Makefile for OpenBSD @@ -34,7 +34,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dalpha CDIAGFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main -CMACHFLAGS= -mno-fp-regs -fno-stack-protector +CMACHFLAGS= -mno-fp-regs COPTS?= -O2 CFLAGS= ${DEBUG} ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -traditional -D_LOCORE diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300 index 975ce09192f..d3487f3490c 100644 --- a/sys/arch/hp300/conf/Makefile.hp300 +++ b/sys/arch/hp300/conf/Makefile.hp300 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.hp300,v 1.30 2002/12/25 21:10:26 miod Exp $ +# $OpenBSD: Makefile.hp300,v 1.31 2003/05/13 06:12:43 tedu Exp $ # $NetBSD: Makefile.hp300,v 1.54 1997/04/01 23:16:41 scottr Exp $ # Makefile for OpenBSD @@ -40,7 +40,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \ -Dmc68020 -Dhp300 CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main -CMACHFLAGS= -msoft-float -fno-stack-protector +CMACHFLAGS= -msoft-float COPTS?= -O2 CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE} AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index b45f0fe7471..0321b5a69f5 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.i386,v 1.34 2003/04/17 03:42:09 drahn Exp $ +# $OpenBSD: Makefile.i386,v 1.35 2003/05/13 06:12:43 tedu Exp $ # $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $ # Makefile for OpenBSD @@ -44,7 +44,6 @@ CMACHFLAGS= -march=i486 .else CMACHFLAGS= .endif -CMACHFLAGS+= -fno-stack-protector COPTS?= -O2 CFLAGS= ${DEBUG} ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k index cc4f878c345..c3ccb0d7084 100644 --- a/sys/arch/mac68k/conf/Makefile.mac68k +++ b/sys/arch/mac68k/conf/Makefile.mac68k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mac68k,v 1.29 2002/12/25 21:10:26 miod Exp $ +# $OpenBSD: Makefile.mac68k,v 1.30 2003/05/13 06:12:43 tedu Exp $ # $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $ # Makefile for OpenBSD @@ -40,7 +40,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \ -Dmc68020 -Dmac68k CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main -CMACHFLAGS= -msoft-float -fno-stack-protector +CMACHFLAGS= -msoft-float COPTS?= -O2 CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE} AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc index dda72e8bab7..ad9dbd10b06 100644 --- a/sys/arch/macppc/conf/Makefile.macppc +++ b/sys/arch/macppc/conf/Makefile.macppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.macppc,v 1.11 2003/01/31 20:11:34 drahn Exp $ +# $OpenBSD: Makefile.macppc,v 1.12 2003/05/13 06:12:43 tedu Exp $ # # Makefile for OpenBSD PowerPC # @@ -40,7 +40,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \ -Dmacppc CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main -CMACHFLAGS= -msoft-float -Wa,-m7400 -fno-stack-protector +CMACHFLAGS= -msoft-float -Wa,-m7400 COPTS?= -O2 CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -D_LOCORE diff --git a/sys/arch/mvme68k/conf/Makefile.mvme68k b/sys/arch/mvme68k/conf/Makefile.mvme68k index a3fddfe16a7..413fe78a888 100644 --- a/sys/arch/mvme68k/conf/Makefile.mvme68k +++ b/sys/arch/mvme68k/conf/Makefile.mvme68k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvme68k,v 1.19 2002/12/25 21:10:26 miod Exp $ +# $OpenBSD: Makefile.mvme68k,v 1.20 2003/05/13 06:12:43 tedu Exp $ # This makefile is constructed from a machine description: # config machineid @@ -43,7 +43,7 @@ CMACHFLAGS= -m68020 .else CMACHFLAGS= -m68060 -Wa,-m68030 .endif -CMACHFLAGS+= -msoft-float -fno-stack-protector +CMACHFLAGS+= -msoft-float COPTS?= -O2 CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE} diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k index 84d36f66ff1..90a03dd42e9 100644 --- a/sys/arch/mvme88k/conf/Makefile.mvme88k +++ b/sys/arch/mvme88k/conf/Makefile.mvme88k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvme88k,v 1.23 2002/12/25 21:10:26 miod Exp $ +# $OpenBSD: Makefile.mvme88k,v 1.24 2003/05/13 06:12:43 tedu Exp $ # # Makefile for OpenBSD # @@ -37,7 +37,6 @@ INCLUDES= -nostdinc -I. -I$S/arch -I$S CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmvme88k -Dm88k CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes -CMACHFLAGS= -fno-stack-protector COPTS?= -O CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE ${CMACHFLAGS} diff --git a/sys/arch/mvmeppc/conf/Makefile.mvmeppc b/sys/arch/mvmeppc/conf/Makefile.mvmeppc index c7fab18050c..ea7d63d7ad3 100644 --- a/sys/arch/mvmeppc/conf/Makefile.mvmeppc +++ b/sys/arch/mvmeppc/conf/Makefile.mvmeppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvmeppc,v 1.11 2002/12/25 21:10:26 miod Exp $ +# $OpenBSD: Makefile.mvmeppc,v 1.12 2003/05/13 06:12:44 tedu Exp $ # # Makefile for OpenBSD PowerPC # @@ -40,7 +40,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \ -Dpowerpc -D__mvmeppc__ CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main -CMACHFLAGS= -msoft-float -Wa,-m7400 -fno-stack-protector +CMACHFLAGS= -msoft-float -Wa,-m7400 COPTS?= -O2 CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -D_LOCORE diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc index f6565387256..2dd476952a5 100644 --- a/sys/arch/sparc/conf/Makefile.sparc +++ b/sys/arch/sparc/conf/Makefile.sparc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sparc,v 1.28 2002/12/25 21:10:26 miod Exp $ +# $OpenBSD: Makefile.sparc,v 1.29 2003/05/13 06:12:44 tedu Exp $ # $NetBSD: Makefile.sparc,v 1.32.4.1 1996/06/12 20:26:32 pk Exp $ # Makefile for OpenBSD @@ -45,7 +45,6 @@ CMACHFLAGS= -mcpu=supersparc .else CMACHFLAGS= .endif -CMACHFLAGS+= -fno-stack-protector CFLAGS= ${DEBUG} -O2 ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} # add `-mno-fpu' to work around gcc (last noticed in v2.7.2) bug diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64 index 273eb6cd0ed..5a2f723a14e 100644 --- a/sys/arch/sparc64/conf/Makefile.sparc64 +++ b/sys/arch/sparc64/conf/Makefile.sparc64 @@ -18,7 +18,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main -CMACHFLAGS= -Wa,-Av9a, -mno-fpu -fno-stack-protector +CMACHFLAGS= -Wa,-Av9a, -mno-fpu CFLAGS= ${DEBUG} -O2 ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE -Wa,-Av9a diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax index 9b42cedd068..6a7a5e891e2 100644 --- a/sys/arch/vax/conf/Makefile.vax +++ b/sys/arch/vax/conf/Makefile.vax @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.vax,v 1.21 2002/12/25 21:10:26 miod Exp $ +# $OpenBSD: Makefile.vax,v 1.22 2003/05/13 06:12:44 tedu Exp $ # $NetBSD: Makefile.vax,v 1.49 1999/07/26 05:20:49 cgd Exp $ # Makefile for OpenBSD/vax @@ -66,7 +66,6 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \ -D_VAX_INLINE_ CWARNFLAGS?= -Werror -Wall -Wno-main -Wno-format -Wno-uninitialized -CMACHFLAGS= -fno-stack-protector CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE} AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE LINKFLAGS= -N -Ttext 80000000 -e start |