pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/boost-libs



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Oct 15 19:36:35 UTC 2021

Modified Files:
        pkgsrc/devel/boost-libs: Makefile

Log Message:
boost-libs: disable pch everywhere

Operating under the assumption that more and more platforms will be
RELRO enabled and this will keep breaking because the conditional is
not kept up-to-date. (it broke on aarch64 after RELRO enablement)


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 pkgsrc/devel/boost-libs/Makefile

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

Modified files:

Index: pkgsrc/devel/boost-libs/Makefile
diff -u pkgsrc/devel/boost-libs/Makefile:1.90 pkgsrc/devel/boost-libs/Makefile:1.91
--- pkgsrc/devel/boost-libs/Makefile:1.90       Thu Sep 30 20:34:17 2021
+++ pkgsrc/devel/boost-libs/Makefile    Fri Oct 15 19:36:35 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2021/09/30 20:34:17 adam Exp $
+# $NetBSD: Makefile,v 1.91 2021/10/15 19:36:35 tnn Exp $
 
 BOOST_PACKAGE=         libs
 BOOST_COMMENT=         (binary libraries)
@@ -14,12 +14,8 @@ PLIST_VARS+=         backtrace context fiber lo
 
 .include "../../mk/compiler.mk"
 
-.if (${OPSYS} == "NetBSD" && \
-       ((${MACHINE_ARCH} == "i386") || \
-       (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc)))) || \
-       (!empty(MACHINE_PLATFORM:MNetBSD-[89].*-x86_64) && !empty(PKGSRC_COMPILER:Mgcc))
+# pch enabled build is generally fragile and breaks with RELRO
 BJAM_ARGS+=            pch=off
-.endif
 
 .if !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || !empty(MACHINE_ARCH:Msparc64)
 BJAM_ARGS+=            --without-context



Home | Main Index | Thread Index | Old Index