summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-11-26 17:07:35 +0000
committerEd Maste <emaste@FreeBSD.org>2018-11-26 17:07:35 +0000
commiteda7d3bec4501c8dde587f9f267d475b7c4f7f78 (patch)
tree0cb0695113cf8d2d49a87069439e9d3e97bd4704 /gnu
parent6b26cacc524546d8506743cc57b98ad73ee40d0d (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile
index c05a5af2374d..191a8ad3d5c1 100644
--- a/gnu/usr.bin/binutils/Makefile
+++ b/gnu/usr.bin/binutils/Makefile
@@ -8,9 +8,13 @@ SUBDIR= doc\
libopcodes \
libbinutils \
as \
- ld \
objdump
+# When we use ld.lld as /usr/bin/ld, do not install the non-ifunc-capable
+# GNU binutils 2.17.50 ld.
+.if ${MK_LLD_IS_LD} == "no"
+SUBDIR+=ld
+.endif
SUBDIR_DEPEND_libbinutils=libbfd # for bfdver.h
SUBDIR_DEPEND_as=libbfd libiberty libopcodes