summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-target.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-04-15 16:18:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-07 13:03:30 +0100
commit426be0f2aecb00533d7edde1191c5d33636a730c (patch)
treeeca13b2c7f0585d9186ea68166d60485064aebef /meta/recipes-devtools/gcc/gcc-target.inc
parent9960536181b66210d536e16898cc194948dd8da4 (diff)
downloadpoky-426be0f2aecb00533d7edde1191c5d33636a730c.tar.gz
gcc: Configure all gccs with --disable-install-libiberty
OE uses libiberty from binutils, since its properly compiled as pic archive and applications and other libraries needing libiberty can properly link with it. With this option applied, explicit delete of libiberty headers and libraries is not required in install step, since they wont get installed in first place. (From OE-Core rev: b6f1def25cbb477549fad48e9586cef3ada2f9e5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-target.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index 34c1b2263b..8cb432780f 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -192,10 +192,6 @@ do_install () {
192 # We don't care about the gcc-<version> ones for this 192 # We don't care about the gcc-<version> ones for this
193 rm -f *gcc-?.?* 193 rm -f *gcc-?.?*
194 194
195 # We use libiberty from binutils
196 find ${D}${libdir} -name libiberty.a | xargs rm -f
197 find ${D}${libdir} -name libiberty.h | xargs rm -f
198
199 # Not sure why we end up with these but we don't want them... 195 # Not sure why we end up with these but we don't want them...
200 rm -f ${TARGET_PREFIX}${TARGET_PREFIX}* 196 rm -f ${TARGET_PREFIX}${TARGET_PREFIX}*
201 197