summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
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