mirror of
https://git.yoctoproject.org/poky
synced 2026-04-08 17:02:22 +02:00
binutils: Do not build gold linker on mips/glibc
Using gnu_hash style is unsupported on gold for now therefore disable building gold on mips/glibc Certain applications poke for presence of gold linker and silently use it (webkit), therefore its best to disable building it (From OE-Core rev: b1b98ed4fafa9d37f71cbfe18f7a00ce2643449e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -38,6 +38,7 @@ FILES_${PN}-dev = " \
|
||||
LDGOLD_ALTS ?= "ld.gold dwp"
|
||||
LDGOLD_ALTS_riscv64 = ""
|
||||
LDGOLD_ALTS_riscv32 = ""
|
||||
LDGOLD_ALTS_libc-glibc_mipsarch = ""
|
||||
|
||||
USE_ALTERNATIVES_FOR = " \
|
||||
addr2line \
|
||||
@@ -84,6 +85,7 @@ EXTRA_TARGETS_class-native = ""
|
||||
|
||||
LDGOLD_class-native = ""
|
||||
LDGOLD_class-crosssdk = ""
|
||||
LDGOLD_libc-glibc_mipsarch = ""
|
||||
LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user