diff options
author | xtraeme <xtraeme> | 2006-12-06 22:31:28 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2006-12-06 22:31:28 +0000 |
commit | e6dfd03551b812bd94ad468920ec7c23ca7ed708 (patch) | |
tree | 14f0aae4254732a0ed6a0069ad6f468b9f93f5f6 /emulators | |
parent | 57d55920a00d7cb857c3ff406cacd02ca6a06e1c (diff) | |
download | pkgsrc-e6dfd03551b812bd94ad468920ec7c23ca7ed708.tar.gz |
Disable gcc stack protector in DragonFly. Patch sent privately by
Rumko.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu/Makefile | 7 |
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*) |