mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
binutils: allow distro to select gold as default linker
But ensure that gcc-cross-intermediate always uses ld.bfd since (e)glibc won't build with gold. (From OE-Core rev: 207a9013670560d62c793a66f01e19f4760a71a8) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5e480e526f
commit
b78173f176
@@ -5,7 +5,8 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
|
||||
--program-prefix=${TARGET_PREFIX} \
|
||||
--disable-install-libbfd \
|
||||
--disable-werror \
|
||||
--enable-poison-system-directories"
|
||||
--enable-poison-system-directories \
|
||||
${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
|
||||
Reference in New Issue
Block a user