mirror of
https://git.yoctoproject.org/poky
synced 2026-10-20 18:38:18 +00: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:
1 parent
5e480e526f
commit
b78173f176
2 files changed
+8
-2
No files matched your search
@@ -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