summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-12-06 22:31:28 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-12-06 22:31:28 +0000
commitd892f5c70c456d07e7288ceb658026219a43f40e (patch)
tree14f0aae4254732a0ed6a0069ad6f468b9f93f5f6 /emulators
parentba93e4d4da118e5ffedc8faa8825af117b9a5f93 (diff)
downloadpkgsrc-d892f5c70c456d07e7288ceb658026219a43f40e.tar.gz
Disable gcc stack protector in DragonFly. Patch sent privately by
Rumko.
Diffstat (limited to 'emulators')
-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*)