summaryrefslogtreecommitdiff
path: root/lang/gcc49
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-04-22 12:22:01 +0000
committermaya <maya@pkgsrc.org>2017-04-22 12:22:01 +0000
commit3cf0de86c0c70f9e28cc7b1fd9e10c16ebd6992b (patch)
tree5cb8aefe00c7cebf54c01097761fb68d0d649034 /lang/gcc49
parent7aaab4a4da3744ee5c2808636cdd8e30a0d7031e (diff)
downloadpkgsrc-3cf0de86c0c70f9e28cc7b1fd9e10c16ebd6992b.tar.gz
gcc49: don't use precompiled headers for libstdc++
this is a build time optimization that causes hangs on some machines (netbsd-7/i386, but not netbsd-7/amd64). disable it globally instead of guessing which are broken. gcc{5,6} are already disabling it. PR pkg/51352: Compilation error on lang/gcc49 PR pkg/50210: Compilation of gcc 4.9 and 5.2 hangs on NetBSD 6.1_STABLE
Diffstat (limited to 'lang/gcc49')
-rw-r--r--lang/gcc49/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile
index e78a25a2d10..1915357ae57 100644
--- a/lang/gcc49/Makefile
+++ b/lang/gcc49/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/09/06 12:37:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2017/04/22 12:22:01 maya Exp $
GCC_PKGNAME= gcc49
.include "version.mk"
@@ -38,6 +38,7 @@ GCC_PREFIX= ${PREFIX}/${GCC_SUBPREFIX}
GCC_TARGET_MACHINE?= ${MACHINE_GNU_PLATFORM}
GNU_CONFIGURE_PREFIX= ${GCC_PREFIX}
INFO_FILES= yes
+CONFIGURE_ARGS+= --disable-libstdcxx-pch
UNLIMIT_RESOURCES+= datasize
UNLIMIT_RESOURCES+= stacksize