pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu Disable gcc stack protector in DragonFl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e04aab2d7ed7
branches: trunk
changeset: 522313:e04aab2d7ed7
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Wed Dec 06 22:31:28 2006 +0000
description:
Disable gcc stack protector in DragonFly. Patch sent privately by
Rumko.
diffstat:
emulators/qemu/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 478f4a93e22d -r e04aab2d7ed7 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile Wed Dec 06 22:30:06 2006 +0000
+++ b/emulators/qemu/Makefile Wed Dec 06 22:31:28 2006 +0000
@@ -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 @@
# 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*)
Home |
Main Index |
Thread Index |
Old Index