1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Just build, do not bootstrap, this stable, default version of GCC

in our ports tree.  This speeds up a full port/package test cycle
by 31% on a 4-core system; a simple build/install will benefit even
more.

(This may impact compile time by this compiler a bit, depending on
how well the system compiler optimizes this codebase.  And we only
should do this for stable, established versions of GCC.)

Remove ABI version numbers for all library dependencies.
This commit is contained in:
Gerald Pfeifer 2012-08-05 01:56:58 +00:00
parent bda35d0437
commit 4d3e133549
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302041

View File

@ -16,9 +16,9 @@ DISTFILES= gcc-${VERSIONSTRING}${EXTRACT_SUFX}
MAINTAINER= gerald@FreeBSD.org
COMMENT= GNU Compiler Collection 4.6
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
mpfr.4:${PORTSDIR}/math/mpfr \
mpc.2:${PORTSDIR}/math/mpc
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
mpfr:${PORTSDIR}/math/mpfr \
mpc:${PORTSDIR}/math/mpc
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
.if defined(MAINTAINER_MODE)
@ -64,7 +64,8 @@ TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS+=--disable-nls \
CONFIGURE_ARGS+=--disable-bootstrap \
--disable-nls \
--enable-languages=c,c++,objc,fortran \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \
@ -77,7 +78,6 @@ CONFIGURE_ARGS+=--disable-nls \
--with-pkgversion="FreeBSD Ports Collection" \
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap-lean
USE_LDCONFIG= ${TARGLIB}
PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \