summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
index 2e5283d691..92c3ce2059 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
@@ -35,7 +35,8 @@ do_install () {
35 rm -rf ${D}${datadir}/ 35 rm -rf ${D}${datadir}/
36 36
37 # We use libiberty from binutils 37 # We use libiberty from binutils
38 rm -f ${D}${exec_prefix}/lib/lib/libiberty.a 38 find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
39 find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f
39 40
40 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are 41 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
41 # found. These need to be relative paths so they work in different locations. 42 # found. These need to be relative paths so they work in different locations.