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

binutils: fix multilib header difference

bfd_stdint.h encodes the name of the compiler in the header
which is different between mutlilibs. Remvoe target prefix to
make the headers match.

(From OE-Core rev: 62cd67ac4ca39edac3c57f648669f1427b6fe7dd)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jeremy Puhlman
2020-02-28 14:54:09 -08:00
committed by Richard Purdie
parent 8f796d8e8e
commit 579e59a6b5
@@ -163,6 +163,8 @@ do_install () {
done
oe_multilib_header bfd.h
# bfd_stdint.h encodes the compiler name in the header
sed -i ${D}${includedir}/bfd_stdint.h -e "s,${TARGET_PREFIX},,"
}
inherit update-alternatives