summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-12-29 22:59:39 +0000
committerwiz <wiz@pkgsrc.org>2016-12-29 22:59:39 +0000
commit5d2f89825cca65acff1ad5f991988bcac621a4b8 (patch)
tree4283bba3ac5fd4b99d711602917e0f021a5fbc21 /emulators/qemu
parent7e99b61870f04ef2234e5440493a6d5deb801ad9 (diff)
downloadpkgsrc-5d2f89825cca65acff1ad5f991988bcac621a4b8.tar.gz
Fix build with SSP.
Closes my PR 51479.
Diffstat (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 8bb3b237aac..f28e3ef16e5 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.158 2016/12/27 21:44:42 bsiegert Exp $
+# $NetBSD: Makefile,v 1.159 2016/12/29 22:59:39 wiz Exp $
DISTNAME= qemu-2.7.0
CATEGORIES= emulators
@@ -38,6 +38,12 @@ CONFIGURE_ARGS+= --enable-curses
CONFIGURE_ARGS+= --disable-opengl
CONFIGURE_ENV+= mansuffix=/${PKGMANDIR}
+.if defined(PKGSRC_USE_SSP)
+# do not add flags to everything
+PKGSRC_USE_SSP= no
+CONFIGURE_ARGS+= --enable-stack-protector
+.endif
+
NOT_PAX_MPROTECT_SAFE+= bin/qemu-system-aarch64
NOT_PAX_MPROTECT_SAFE+= bin/qemu-system-alpha
NOT_PAX_MPROTECT_SAFE+= bin/qemu-system-arm