diff options
author | tron <tron> | 2007-02-04 22:54:13 +0000 |
---|---|---|
committer | tron <tron> | 2007-02-04 22:54:13 +0000 |
commit | 36fda4cde536b69b77d5a5206001a36fdc189228 (patch) | |
tree | 4f1aad9c0e1f9e32446ab70c9cfec19e68489cb4 /lang/gcc34 | |
parent | 876491b318e8650c4c1f6c4a80035b406c7aabb7 (diff) | |
download | pkgsrc-36fda4cde536b69b77d5a5206001a36fdc189228.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/Makefile | 6 |
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) |