summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-10-14 01:58:18 +0000
committerobrien <obrien@FreeBSD.org>2001-10-14 01:58:18 +0000
commita28a8cb8f0fc0a3d8ad950a6f30a9d6e19001375 (patch)
tree5d86705e7b7b918a3b266ded7941e29a7525bcb9 /gnu
parent06ba7c459f46b6e760366199991804920dff19e8 (diff)
downloadFreeBSD-src-a28a8cb8f0fc0a3d8ad950a6f30a9d6e19001375.zip
FreeBSD-src-a28a8cb8f0fc0a3d8ad950a6f30a9d6e19001375.tar.gz
Clean up a little bit more.
Diffstat (limited to 'gnu')
-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 d35bf46..f97fcc4 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
OpenPOWER on IntegriCloud