]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: Allow gold to build even when not the default
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Apr 2015 14:51:12 +0000 (15:51 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Apr 2015 16:32:00 +0000 (17:32 +0100)
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>
meta/recipes-devtools/binutils/binutils.inc

index afb582ad678000bfd4bd47a4e01ae14df192e911..3c65efca41510981a36f27cd84997d29558b625e 100644 (file)
@@ -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"