binutils: Fix useless rpaths QA warning
PATCH 1/1 binutils: Fix useless rpaths QA warning
elfedit and readelf contains /usr/lib in elf header this patch deletes them from binaries, ideally it should be fixed in libtool and Makery of binutils
mips target binutils dont build gold so remove them from ALTERNATIVES list
Signed-off-by Khem Raj <[email protected]>
--- meta/recipes-devtools/binutils/binutils.inc | 5 +++++ 1 file changed, 5 insertions(+)
meta/recipes-devtools/binutils/binutils.inc +5 -0
@@ -51,6 +51,7 @@ USE_ALTERNATIVES_FOR = " \ strings \ strip \ " +USE_ALTERNATIVES_FOR_remove_mips = "ld.gold dwp" python do_package_prepend() { make_alts = d.getVar("USE_ALTERNATIVES_FOR", True) or ""
@@ -111,6 +112,10 @@ do_configure () { done } +do_compile_append_class-target() { + chrpath -d ${B}/binutils/elfedit + chrpath -d ${B}/binutils/readelf +} do_install () { autotools_do_install
Signature · 1 line
2.7.1