summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2005-01-14 07:44:21 +0000
committerskrll <skrll@NetBSD.org>2005-01-14 07:44:21 +0000
commit7fd7604d5993095f213e5de075b7c9e7dd9b8a0f (patch)
treedd108f6eb981c13cb9754e6ee7092ae32a552706 /gnu/usr.bin/binutils
parent63d29cccef55402f074b7b0048ef081d29b91ef4 (diff)
Set EMULATION_NAME in the depends rule so that this works on mips.
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index d572912f4fc..5ababdd68d4 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/12/16 17:10:24 tron Exp $
+# $NetBSD: Makefile,v 1.22 2005/01/14 07:44:21 skrll Exp $
.include <bsd.own.mk>
@@ -49,7 +49,7 @@ BUILDSYMLINKS+= gen-doc.texi configdoc.texi
.depend.${f}: ${f}.sh
${_MKTARGET_CREATE}
- (srcdir=${DIST}/ld . ${>:M*.sh} && \
+ (srcdir=${DIST}/ld EMULATION_NAME=$f . ${>:M*.sh} && \
if [ x"$$TEMPLATE_NAME" != x ]; then \
temp_emul=$$TEMPLATE_NAME.em; \
else \