summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-12-11 03:56:24 +0000
committerthorpej <thorpej@NetBSD.org>2001-12-11 03:56:24 +0000
commited865aec36c59ca10b12dcc99bfc7e454e38b58d (patch)
tree22feb61fcb756979c80aed100af0d1e6225088be /gnu/usr.bin/binutils
parent4cb0691e2a0845763d0892a7ba6f6a6e3b944917 (diff)
Make absolutely sure that MACHINE is no in the environment when
the linker scripts are generated.
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index a02c1146ff6..ed566eea92d 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/11/26 18:19:48 jmc Exp $
+# $NetBSD: Makefile,v 1.8 2001/12/11 03:56:24 thorpej Exp $
TOP= ${.CURDIR}/../../..
DIST= ${TOP}/dist/toolchain
@@ -60,7 +60,8 @@ stringify.sed: ${G_STRINGIFY}
CLEANFILES+= .depend.${f} e${f}.c
e${f}.c: ${DIST}/ld/genscripts.sh ${.CURDIR}/Makefile stringify.sed
- MACHINE= LIB_PATH=/usr/lib \
+ unset MACHINE || true; \
+ LIB_PATH=/usr/lib \
sh ${DIST}/ld/genscripts.sh ${DIST}/ld ${LIBDIR} /usr \
${G_target_alias} ${G_target_alias} ${G_target_alias} \
${G_EMUL} ${LIBDIR} ${f}