diff options
author | martin <martin@pkgsrc.org> | 2014-07-02 13:20:51 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2014-07-02 13:20:51 +0000 |
commit | a802848b2850b844d99ae7383b189682d9cd6e5f (patch) | |
tree | 5a0f537d36669215ea8093ab32c94d0cb931f3df /cross | |
parent | 3e1fb7b3e3a5f73c4119e386eb3e11993d2ec878 (diff) | |
download | pkgsrc-a802848b2850b844d99ae7383b189682d9cd6e5f.tar.gz |
Workaround for bugzilla ticket 61651: pass explicit --with-.. for all binutils
programs to configure.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/gcc-mips-current/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cross/gcc-mips-current/Makefile b/cross/gcc-mips-current/Makefile index f69828d8f80..8b86d488e63 100644 --- a/cross/gcc-mips-current/Makefile +++ b/cross/gcc-mips-current/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.4 2014/07/02 12:53:35 martin Exp $ +# $NetBSD: Makefile,v 1.5 2014/07/02 13:20:51 martin Exp $ GCC_DIST_VERSION=4.9.0 GCC_PKGNAME= gcc-mips-${GCC_DIST_VERSION} DISTNAME= gcc-${GCC_DIST_VERSION} PKGNAME= ${GCC_PKGNAME} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= cross lang MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC_DIST_VERSION}/} EXTRACT_SUFX= .tar.bz2 @@ -56,9 +56,10 @@ CONFIGURE_ENV+= LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q} # Make sure the target binutils are both in PATH and supplied explicitly # to configure -# .for prg in as ar ld nm strip objcopy objdump ranlib readelf +.for prg in as ar ld nm strip objcopy objdump ranlib readelf # CONFIGURE_ENV+= ${prg:tu}_FOR_TARGET=${PREFIX}/bin/${TARGET}-${prg} -# .endfor +CONFIGURE_ARGS+= --with-${prg}=${PREFIX}/bin/${TARGET}-${prg} +.endfor CONFIGURE_ARGS+= --disable-nls CONFIGURE_ARGS+= --disable-libquadmath |