pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/qemu



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Dec 29 22:59:39 UTC 2016

Modified Files:
        pkgsrc/emulators/qemu: Makefile

Log Message:
Fix build with SSP.

Closes my PR 51479.


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 pkgsrc/emulators/qemu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.158 pkgsrc/emulators/qemu/Makefile:1.159
--- pkgsrc/emulators/qemu/Makefile:1.158        Tue Dec 27 21:44:42 2016
+++ pkgsrc/emulators/qemu/Makefile      Thu Dec 29 22:59:39 2016
@@ -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



Home | Main Index | Thread Index | Old Index