mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
binutils: Enable threaded linking with gold
This options will let gold spawn multiple threads for linking and speeding up linking on multicore build hosts. (From OE-Core rev: 210957a58260ec50416649aba799d0e96aeeff24) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -53,7 +53,7 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
|
||||
EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
|
||||
--disable-werror \
|
||||
--enable-plugins \
|
||||
${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '', d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
|
||||
|
||||
# This is necessary due to a bug in the binutils Makefiles
|
||||
|
||||
Reference in New Issue
Block a user