diff options
author | tnn <tnn@pkgsrc.org> | 2021-10-15 19:36:35 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2021-10-15 19:36:35 +0000 |
commit | a03156cf1ad4ffdf8d942800230e48bc521cd17a (patch) | |
tree | 77e59eb5c78c65d4b838c56d147af30e910eb94a | |
parent | 7aa0d497a98ac7981e0d8ea8d1debe86a486e273 (diff) | |
download | pkgsrc-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)
-rw-r--r-- | devel/boost-libs/Makefile | 8 |
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 |