From 579e59a6b5f3818c3944ec462b2d2e6b684a0b51 Mon Sep 17 00:00:00 2001 From: Jeremy Puhlman Date: Fri, 28 Feb 2020 14:54:09 -0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-devtools/binutils/binutils.inc') 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 -- cgit v1.2.3-54-g00ecf