summaryrefslogtreecommitdiff
path: root/lang/gcc34
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-02-04 22:54:13 +0000
committertron <tron@pkgsrc.org>2007-02-04 22:54:13 +0000
commit0df6618b33d46852136fdf1c99c2613497bf99bc (patch)
tree4f1aad9c0e1f9e32446ab70c9cfec19e68489cb4 /lang/gcc34
parent53fe5851871b1e8e8d6fb0476fb27fb68fb9f791 (diff)
downloadpkgsrc-0df6618b33d46852136fdf1c99c2613497bf99bc.tar.gz
Unlimit datasize to fix build under (at least) NetBSD-i386 3.3.1 using
NetBSD's GCC 3.3.3.
Diffstat (limited to 'lang/gcc34')
-rw-r--r--lang/gcc34/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index 08861491af2..31b180ebd89 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2006/10/04 22:40:40 rillig Exp $
+# $NetBSD: Makefile,v 1.37 2007/02/04 22:54:13 tron Exp $
#
DISTNAME= gcc-${GCC_VERSION}
@@ -90,6 +90,8 @@ CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
MAKE_ENV+= ICONVPREFIX=${BUILDLINK_PREFIX.iconv}
MAKE_ENV+= SHELL=${CONFIG_SHELL}
+UNLIMIT_RESOURCES+= datasize
+
.if !empty(BUILD_F77:M[Yy][Ee][Ss])
.include "../../devel/gmp/buildlink3.mk"
CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp}
@@ -200,7 +202,7 @@ do-configure:
cd ${WRKDIR}/obj; ${SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} ${WRKSRC}/configure ${CONFIGURE_ARGS}
do-build:
- (cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE} bootstrap)
+ (${_ULIMIT_CMD} && cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE} bootstrap)
.if !empty(BUILD_ADA:M[Yy][Ee][Ss])
(cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib-shared)
(cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib_and_tools)