diff options
author | maya <maya> | 2017-04-22 12:22:01 +0000 |
---|---|---|
committer | maya <maya> | 2017-04-22 12:22:01 +0000 |
commit | 247290b0c158e03046d65554bc707bd87c066d66 (patch) | |
tree | eacfe5a13216c19c9bfec778ed5d1321864e490c /lang | |
parent | d89445c739cd09e731cfe33be952b2eae010a414 (diff) | |
download | pkgsrc-247290b0c158e03046d65554bc707bd87c066d66.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')
-rw-r--r-- | lang/gcc49/Makefile | 3 |
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 |