summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-03-14 16:35:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-17 16:53:05 +0000
commit56b2f19ca16bc09bfbec5addef360821b631b471 (patch)
tree3e49c359f7b7124e5d1027b8835118e9069fe0ba /meta/recipes-devtools/binutils/binutils.inc
parent12afe700f376e2f1d47ef3864affd920b3955c87 (diff)
downloadpoky-56b2f19ca16bc09bfbec5addef360821b631b471.tar.gz
binutils: Enable threading when gold is enabled and is not default linker
Currently we enable threaded linking feature of gold linker only when its used as default ld. There is no need to restrict it when its not default linker either. As long as gold is enabled, which is the case here, we should be able to do threaded linking. (From OE-Core rev: 759eed2b02e0a7b5c8b19d4b087d9151c009eed4) 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/binutils.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 9b1192b6e7..37813dd864 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -78,7 +78,7 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
78 78
79LDGOLD_class-native = "" 79LDGOLD_class-native = ""
80LDGOLD_class-crosssdk = "" 80LDGOLD_class-crosssdk = ""
81LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default', d)}" 81LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
82 82
83# This is necessary due to a bug in the binutils Makefiles 83# This is necessary due to a bug in the binutils Makefiles
84# EXTRA_OEMAKE = "configure-build-libiberty all" 84# EXTRA_OEMAKE = "configure-build-libiberty all"