[oe-commits] [openembedded-core] 08/16: binutils: fix multilib header difference

git at git.openembedded.org git at git.openembedded.org
Sat Feb 29 13:05:51 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 62cd67ac4ca39edac3c57f648669f1427b6fe7dd
Author: Jeremy Puhlman <jpuhlman at mvista.com>
AuthorDate: Fri Feb 28 14:54:09 2020 -0800

    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 at mvista.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 6ed40a1..b0937e6 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list