diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-14 16:35:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-17 16:53:05 +0000 |
commit | 56b2f19ca16bc09bfbec5addef360821b631b471 (patch) | |
tree | 3e49c359f7b7124e5d1027b8835118e9069fe0ba /meta/recipes-devtools/binutils/binutils.inc | |
parent | 12afe700f376e2f1d47ef3864affd920b3955c87 (diff) | |
download | poky-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.inc | 2 |
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 | ||
79 | LDGOLD_class-native = "" | 79 | LDGOLD_class-native = "" |
80 | LDGOLD_class-crosssdk = "" | 80 | LDGOLD_class-crosssdk = "" |
81 | LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default', d)}" | 81 | LDGOLD ?= "${@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" |