binutils-cross-canadian: Allow ld-is-gold
In order to actually generate a toolchain (with bitbake meta-toolchain) that supports gold, binutils- cross-canadian also needs to be built this way. (From OE-Core rev: 0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7b15d99e6c
commit
2f60d9a9f9
|
@ -7,7 +7,8 @@ BPN = "binutils"
|
|||
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
|
||||
EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
|
||||
--program-prefix=${TARGET_PREFIX} \
|
||||
--disable-werror"
|
||||
--disable-werror \
|
||||
${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
|
||||
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
|
|
Loading…
Reference in New Issue