summaryrefslogtreecommitdiff
path: root/devel/boost-libs
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-08-23 08:52:54 +0000
committerjmmv <jmmv@pkgsrc.org>2006-08-23 08:52:54 +0000
commit3c84c0663d90ce001fae9ebac4005924c831fff6 (patch)
tree4a8b56c34a3112a0a7f83a62eb02a20ab490c6c0 /devel/boost-libs
parent3a48882d3b021363ca6f948141b14ec71399648d (diff)
downloadpkgsrc-3c84c0663d90ce001fae9ebac4005924c831fff6.tar.gz
Beleatedly add a little hack to fix build under NetBSD/amd64: gcc gets
stalled while compiling a file. Tested by jschauma@.
Diffstat (limited to 'devel/boost-libs')
-rw-r--r--devel/boost-libs/hacks.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/boost-libs/hacks.mk b/devel/boost-libs/hacks.mk
new file mode 100644
index 00000000000..c0c4046edac
--- /dev/null
+++ b/devel/boost-libs/hacks.mk
@@ -0,0 +1,7 @@
+# $NetBSD: hacks.mk,v 1.1 2006/08/23 08:52:54 jmmv Exp $
+
+# GCC 3.3.3 enters an infinite loop under NetBSD/amd64 in Boost.Wave's
+# insantiate_cpp_literalgrs.cpp source file. Avoid compiling it.
+# To make things simple, apply the hack to all the platforms so that the
+# builds are consistent.
+BJAM_BUILD+= <define>BOOST_WAVE_SEPARATE_GRAMMAR_INSTANTIATION=0