mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
recipes: Drop ld-is-gold support
Gold hasn't seen development in some time and is being dropped from binutils releases. Drop the small number of special cases for it we were carrying. This patch also turns off gold in the binutils recipe. (From OE-Core rev: a4addb9ab63011e7c604fc5daff95559e7d214e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -30,7 +30,7 @@ EXTRA_OECONF = "--enable-static"
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 = "arm"
|
||||
|
||||
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
|
||||
LDFLAGS += "-Wl,-z,relro,-z,now"
|
||||
|
||||
SECURITY_LDFLAGS:append:libc-musl = " -lssp_nonshared"
|
||||
CACHED_CONFIGUREVARS:append:libc-musl = " LDFLAGS='${LDFLAGS} -lucontext'"
|
||||
|
||||
Reference in New Issue
Block a user