summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorJeremy Puhlman <jpuhlman@mvista.com>2020-02-28 14:54:09 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-29 13:01:29 +0000
commit62cd67ac4ca39edac3c57f648669f1427b6fe7dd (patch)
tree04fe86ce0e92426d04941643322ce9a596e82148 /meta/recipes-devtools/binutils
parent0e19b25fbf1d760c06dd6a2cb8e291c7482330c4 (diff)
downloadopenembedded-core-contrib-62cd67ac4ca39edac3c57f648669f1427b6fe7dd.tar.gz
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. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 6ed40a1486..b0937e62fc 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -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