Force the use of system as and ld. This makes building and using this

port consistent across installations and avoids confusing error modes
for users who may have others flavors of these tools earlier in PATH.

On the way, sort CONFIGURE_ARGS.

Triggered by:	glarkin
This commit is contained in:
Gerald Pfeifer 2010-04-16 16:09:15 +00:00
parent 0b6a949084
commit 18b8d038e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252774

View File

@ -53,14 +53,16 @@ WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-nls \
--with-system-zlib \
--with-libiconv-prefix=${LOCALBASE} \
--with-gmp=${LOCALBASE} \
--program-suffix=${SUFFIX} \
CONFIGURE_ARGS+=--disable-nls \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \
--with-gxx-include-dir=${TARGLIB}/include/c++/
--program-suffix=${SUFFIX} \
--with-as=/usr/bin/as \
--with-gmp=${LOCALBASE} \
--with-gxx-include-dir=${TARGLIB}/include/c++/ \
--with-ld=/usr/bin/ld \
--with-libiconv-prefix=${LOCALBASE} \
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap-lean
USE_LDCONFIG= ${TARGLIB}