[OE-core] [PATCH] binutils: fix multilib header difference
Jeremy A. Puhlman
jpuhlman at mvista.com
Fri Feb 28 22:54:09 UTC 2020
From: Jeremy Puhlman <jpuhlman at mvista.com>
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 at mvista.com>
---
meta/recipes-devtools/binutils/binutils.inc | 2 ++
1 file changed, 2 insertions(+)
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
--
2.20.1
More information about the Openembedded-core
mailing list