Disable gcc stack protector in DragonFly. Patch sent privately by

Rumko.
This commit is contained in:
xtraeme 2006-12-06 22:31:28 +00:00
parent ba93e4d4da
commit d892f5c70c

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.42 2006/09/17 07:51:56 xtraeme Exp $
# $NetBSD: Makefile,v 1.43 2006/12/06 22:31:28 xtraeme Exp $
#
DISTNAME= qemu-0.8.2
@ -48,6 +48,11 @@ REPLACE_PERL+= texi2pod.pl
# to build in the SSE code.
BUILDLINK_TRANSFORM+= rm-optarg:-march rm-optarg:-mcpu
# Does not build with the stack protector
.if ${OPSYS} == "DragonFly"
CFLAGS+= -fno-stack-protector
.endif
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4*)