From: Matthew Dillon Date: Thu, 8 Dec 2011 04:14:04 +0000 (-0800) Subject: kernel - Add -fno-stack-protector for kernel build X-Git-Tag: v3.0.0~447 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/a0ce6c514507568178330aceefbfcf2061cbef3b kernel - Add -fno-stack-protector for kernel build * Add -fno-stack-protector for kernel build in order to be consistent with the other platform kernel builds * Has no effect with the current version of gcc but may prevent bad vibes in the future. --- diff --git a/sys/platform/pc64/conf/kern.mk b/sys/platform/pc64/conf/kern.mk index d1a6951965..ff474a262d 100644 --- a/sys/platform/pc64/conf/kern.mk +++ b/sys/platform/pc64/conf/kern.mk @@ -9,6 +9,7 @@ # reserved for user applications. # CFLAGS+= -mpreferred-stack-boundary=4 +CFLAGS+= -fno-stack-protector CFLAGS+= -mcmodel=kernel -mno-red-zone -mfpmath=387 CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3