diff options
author | jmcneill <jmcneill> | 2014-11-19 11:46:17 +0000 |
---|---|---|
committer | jmcneill <jmcneill> | 2014-11-19 11:46:17 +0000 |
commit | b513ec345eb5f4abf60fd328454e9e9d38e906ee (patch) | |
tree | 1e6eb1a24bdffca05fd182f5a2feed4e43b2f5e6 /devel | |
parent | 58caf5da644dfe3bdd123c3699233e19161f285d (diff) | |
download | pkgsrc-b513ec345eb5f4abf60fd328454e9e9d38e906ee.tar.gz |
Work around "fatal error: had to relocate PCH" by setting pch=off for
NetBSD/earm if gcc is being used. Fixes build for me on NetBSD/earmv7hf
7.0_BETA with gcc.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/boost-libs/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile index f8ca6b1e102..31bf554df4c 100644 --- a/devel/boost-libs/Makefile +++ b/devel/boost-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2014/11/07 19:28:38 adam Exp $ +# $NetBSD: Makefile,v 1.31 2014/11/19 11:46:17 jmcneill Exp $ BOOST_PACKAGE= libs BOOST_COMMENT= (binary libraries) @@ -12,7 +12,7 @@ INSTALLATION_DIRS+= lib BJAM_ARGS+= --without-python PLIST_VARS+= context log -.if $(OPSYS) == "NetBSD" && ($(MACHINE_ARCH) == "i386" || $(MACHINE_ARCH) == "sparc64") +.if $(OPSYS) == "NetBSD" && (($(MACHINE_ARCH) == "i386" || $(MACHINE_ARCH) == "sparc64") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc))) BJAM_ARGS+= pch=off .elif !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) BJAM_ARGS+= --without-context |