summaryrefslogtreecommitdiff
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 15:37:04 +0000
commit759eed2b02e0a7b5c8b19d4b087d9151c009eed4 (patch)
tree5108ab53037c9bd6e66867216ba081d50ade6f1f /meta/recipes-devtools/binutils/binutils.inc
parent8f504a7737d5e6be6ec61f9ce8728a2c74102a8a (diff)
downloadopenembedded-core-759eed2b02e0a7b5c8b19d4b087d9151c009eed4.tar.gz
openembedded-core-759eed2b02e0a7b5c8b19d4b087d9151c009eed4.tar.bz2
openembedded-core-759eed2b02e0a7b5c8b19d4b087d9151c009eed4.zip
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. 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} \
LDGOLD_class-native = ""
LDGOLD_class-crosssdk = ""
-LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default', d)}"
+LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
# This is necessary due to a bug in the binutils Makefiles
# EXTRA_OEMAKE = "configure-build-libiberty all"