aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-10-14 01:58:18 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-10-14 01:58:18 +0000
commit8f0d33af07f443b3f938a550cc11c6c9b8121c5f (patch)
tree5d86705e7b7b918a3b266ded7941e29a7525bcb9 /gnu/usr.bin/binutils/ld/Makefile
parent4ab605cf6d583cbb20564418e0db61e3676b810d (diff)
downloadsrc-8f0d33af07f443b3f938a550cc11c6c9b8121c5f.tar.gz
src-8f0d33af07f443b3f938a550cc11c6c9b8121c5f.zip
Clean up a little bit more.
Notes
Notes: svn path=/head/; revision=84911
Diffstat (limited to 'gnu/usr.bin/binutils/ld/Makefile')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index d35bf465a396..f97fcc49d880 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -13,13 +13,14 @@ SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \
.if defined(BOOTSTRAPPING) && !exists(/usr/include/elf-hints.h)
SRCS+= elf-hints.h
CLEANFILES+= elf-hints.h
+
elf-hints.h:
ln -sf ${.CURDIR}/../../../../include/${.TARGET} .
.endif
CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\"
-CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\"
+CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
NOSHARED?= yes
DPADD= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a