1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

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.

(From OE-Core rev: 67dc1df30ec9f38c41df0ad88978e8135e00dd18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2015-04-07 15:51:12 +01:00
parent 33db621e4e
commit 26648dcd1c
+1 -1
View File
@@ -73,7 +73,7 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
LDGOLD_class-native = "" LDGOLD_class-native = ""
LDGOLD_class-crosssdk = "" 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 # This is necessary due to a bug in the binutils Makefiles
# EXTRA_OEMAKE = "configure-build-libiberty all" # EXTRA_OEMAKE = "configure-build-libiberty all"