summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/Makefile7
1 files changed, 6 insertions, 1 deletions
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*)