Clear DESTDIR from the environment when invoking make on the toolchain's
GNU makefiles. Some of these tools are (amazingly) DESTDIR aware, but we don't want that handling for host tools. Fixes PR bin/14079.
This commit is contained in:
parent
bf8eb2fc2d
commit
848b7208e8
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2001/08/14 11:02:03 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2001/10/04 17:55:16 tv Exp $
|
||||
|
||||
.include <bsd.own.mk> # for TOOLDIR
|
||||
|
||||
|
@ -30,13 +30,13 @@ texinfo.configure:
|
|||
|
||||
texinfo.all: texinfo.configure
|
||||
cd texinfo && \
|
||||
PATH="${TOOLDIR}/bin:$$PATH" \
|
||||
PATH="${TOOLDIR}/bin:$$PATH" DESTDIR= \
|
||||
${MAKE} all LEX=true BISON=true
|
||||
|
||||
texinfo.install:
|
||||
.for d in makeinfo util
|
||||
cd texinfo/${d} && \
|
||||
PATH="${TOOLDIR}/bin:$$PATH" \
|
||||
PATH="${TOOLDIR}/bin:$$PATH" DESTDIR= \
|
||||
${MAKE} install LEX=true BISON=true
|
||||
.endfor
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2001/09/21 23:00:36 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2001/10/04 17:52:27 tv Exp $
|
||||
|
||||
.include <bsd.own.mk> # for TOOLDIR
|
||||
|
||||
|
@ -50,13 +50,13 @@ toolchain.configure:
|
|||
|
||||
toolchain.all: toolchain.configure
|
||||
cd toolchain && \
|
||||
PATH="${TOOLDIR}/bin:$$PATH" \
|
||||
PATH="${TOOLDIR}/bin:$$PATH" DESTDIR= \
|
||||
${MAKE} all-binutils all-gas all-ld all-gcc \
|
||||
LEX=true BISON=true
|
||||
|
||||
toolchain.install:
|
||||
cd toolchain && \
|
||||
PATH="${TOOLDIR}/bin:$$PATH" \
|
||||
PATH="${TOOLDIR}/bin:$$PATH" DESTDIR= \
|
||||
${MAKE} install-binutils install-gas install-ld install-gcc \
|
||||
LEX=true BISON=true
|
||||
mv ${TOOLDIR}/bin/cpp ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-cpp
|
||||
|
|
Loading…
Reference in New Issue