diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-01-14 17:56:54 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2020-01-14 17:56:54 +0000 |
commit | 1e1c6bb49fc188b466d5fcacd7fbf4036d20a827 (patch) | |
tree | 3909b311431815326c0124260a2e324fc0917330 /gnu | |
parent | 4b50c451720d8b427757a6da1dd2bb4c52cd9e35 (diff) | |
download | src-test2-1e1c6bb49fc188b466d5fcacd7fbf4036d20a827.tar.gz src-test2-1e1c6bb49fc188b466d5fcacd7fbf4036d20a827.zip |
limit ld.bfd to powerpc
All archs except powerpc either use lld or require external toolchain.
powerpc still needs binutils ld to link 32-bit binaries.
Reviewed by: jhibbits
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23107
Notes
Notes:
svn path=/head/; revision=356736
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile index 5493e2f12681..6d0ef550caf8 100644 --- a/gnu/usr.bin/binutils/Makefile +++ b/gnu/usr.bin/binutils/Makefile @@ -11,11 +11,9 @@ SUBDIR.${MK_BINUTILS}+= libbinutils SUBDIR.${MK_BINUTILS}+= as SUBDIR.${MK_BINUTILS}+= objdump -# When we use ld.lld as /usr/bin/ld, do not install the non-ifunc-capable -# GNU binutils 2.17.50 ld. -# Except if we are on powerpc, that needs the ld from binutils to link -# 32-bit binaries. -.if ${MK_LLD_IS_LD} == "no" || ${TARGET} == "powerpc" +# All archs except powerpc either use lld or require external toolchain. +# powerpc still needs binutils ld to link 32-bit binaries. +.if ${TARGET} == "powerpc" SUBDIR.${MK_BINUTILS}+=ld .endif |