summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2021-10-15 19:36:35 +0000
committertnn <tnn@pkgsrc.org>2021-10-15 19:36:35 +0000
commita03156cf1ad4ffdf8d942800230e48bc521cd17a (patch)
tree77e59eb5c78c65d4b838c56d147af30e910eb94a /devel
parent7aa0d497a98ac7981e0d8ea8d1debe86a486e273 (diff)
downloadpkgsrc-a03156cf1ad4ffdf8d942800230e48bc521cd17a.tar.gz
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)
Diffstat (limited to 'devel')
-rw-r--r--devel/boost-libs/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index 04d43d438e5..cb6a97773e3 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -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 log longdbl
.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