From 3cf0de86c0c70f9e28cc7b1fd9e10c16ebd6992b Mon Sep 17 00:00:00 2001 From: maya Date: Sat, 22 Apr 2017 12:22:01 +0000 Subject: 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 --- lang/gcc49/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang/gcc49') 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 -- cgit v1.2.3