From d892f5c70c456d07e7288ceb658026219a43f40e Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 6 Dec 2006 22:31:28 +0000 Subject: Disable gcc stack protector in DragonFly. Patch sent privately by Rumko. --- emulators/qemu/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'emulators') diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index f9584e04665..a6809bac720 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -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*) -- cgit v1.2.3