summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils.inc
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:04:48 +0000
commit579e59a6b5f3818c3944ec462b2d2e6b684a0b51 (patch)
tree86eed5dc8ba4e9db5198418e62e683cadc61e94d /meta/recipes-devtools/binutils/binutils.inc
parent8f796d8e8ede87aba5e402192a47786f7e12e26e (diff)
downloadpoky-579e59a6b5f3818c3944ec462b2d2e6b684a0b51.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. (From OE-Core rev: 62cd67ac4ca39edac3c57f648669f1427b6fe7dd) 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/binutils.inc')
-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 () {
163 done 163 done
164 164
165 oe_multilib_header bfd.h 165 oe_multilib_header bfd.h
166 # bfd_stdint.h encodes the compiler name in the header
167 sed -i ${D}${includedir}/bfd_stdint.h -e "s,${TARGET_PREFIX},,"
166} 168}
167 169
168inherit update-alternatives 170inherit update-alternatives