sys-devel/binutils-config: drop runtime linker switch selection
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 29 Dec 2019 20:13:58 +0000 (20:13 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 29 Dec 2019 20:13:58 +0000 (20:13 +0000)
commitbd195f1e0d49e664119adb29100dbd7a094bd008
treec2b07d6849750aebf4836fe65ae867ef197d6020
parent37a93608c31aa3926a1f46ffaff6fa6d24b85725
sys-devel/binutils-config: drop runtime linker switch selection

Before this change there were 3 ways to switch default linker:
1. via LDFLAGS=-fuse-ld=gold LD=${CHOST}-ld.gold
2. via binutils' USE flags: USE="default-gold gold"
3. via *FLAGS=-B/path-to-own-tools
4. via 'binutils-config --linker'

This change drops [3.] entirely in favour of [1.] and [2.].
[1.] should be preferred.

Reported-by: Andrzej Korwin-Mikke
Closes: https://bugs.gentoo.org/658054
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-devel/binutils-config/binutils-config-5-r4.ebuild
sys-devel/binutils-config/binutils-config-5.1-r1.ebuild
sys-devel/binutils-config/binutils-config-5.2.ebuild [new file with mode: 0644]
sys-devel/binutils-config/files/binutils-config-5.2 [new file with mode: 0644]