diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-08-07 14:26:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-07 23:15:24 +0100 |
commit | 210957a58260ec50416649aba799d0e96aeeff24 (patch) | |
tree | 3d546ccf64d6839fb28dceda0be810cb367f040d /meta/recipes-devtools/binutils | |
parent | 247330b515a1f19189e97f3832242c1c965c2782 (diff) | |
download | openembedded-core-contrib-210957a58260ec50416649aba799d0e96aeeff24.tar.gz |
binutils: Enable threaded linking with gold
This options will let gold spawn multiple
threads for linking and speeding up linking
on multicore build hosts.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.22.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.22.inc b/meta/recipes-devtools/binutils/binutils-2.22.inc index e3e179dfd9f..17950a22d4c 100644 --- a/meta/recipes-devtools/binutils/binutils-2.22.inc +++ b/meta/recipes-devtools/binutils/binutils-2.22.inc @@ -1,4 +1,4 @@ -PR = "r13" +PR = "r14" LIC_FILES_CHKSUM="\ file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index cd923bdb5f4..ee748a402a7 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc @@ -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 |