summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz>2016-12-29 22:59:39 +0000
committerwiz <wiz>2016-12-29 22:59:39 +0000
commit309d937f8e7274ecfba687638a8b769fc45c23ec (patch)
tree09b960fc244ad49fc0b6fa0acdc384626fd77b26 /emulators
parent53e28138a509967f042105a8a4c35eef03eabea4 (diff)
downloadpkgsrc-309d937f8e7274ecfba687638a8b769fc45c23ec.tar.gz
Fix build with SSP.
Closes my PR 51479.
Diffstat (limited to 'emulators')
-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