pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu Fix build with SSP.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2bec7be485ba
branches: trunk
changeset: 356317:2bec7be485ba
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Dec 29 22:59:39 2016 +0000
description:
Fix build with SSP.
Closes my PR 51479.
diffstat:
emulators/qemu/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 88f6ea702e8b -r 2bec7be485ba emulators/qemu/Makefile
--- a/emulators/qemu/Makefile Thu Dec 29 22:54:33 2016 +0000
+++ b/emulators/qemu/Makefile Thu Dec 29 22:59:39 2016 +0000
@@ -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+= --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
Home |
Main Index |
Thread Index |
Old Index