summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/binutils/binutils.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-07 15:51:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-07 17:32:00 +0100
commit67dc1df30ec9f38c41df0ad88978e8135e00dd18 (patch)
tree51ac38e4ffc1d858461ffee860c7a492c83c0d97 /meta/recipes-devtools/binutils/binutils.inc
parent81449a31b57ecda52ef8741f59afc26b4d4022e9 (diff)
downloadopenembedded-core-67dc1df30ec9f38c41df0ad88978e8135e00dd18.tar.gz
openembedded-core-67dc1df30ec9f38c41df0ad88978e8135e00dd18.tar.bz2
openembedded-core-67dc1df30ec9f38c41df0ad88978e8135e00dd18.zip
binutils: Allow gold to build even when not the default
It can be useful to have gold available for testing even when its not the default, therefore build gold by default in all configurations. 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 afb582ad67..3c65efca41 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -73,7 +73,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', '', d)}"
+LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default', d)}"
# This is necessary due to a bug in the binutils Makefiles
# EXTRA_OEMAKE = "configure-build-libiberty all"