summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-04 15:37:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 11:39:08 +0100
commit21effd66408423b02845186f1007b1a58f3fba31 (patch)
tree440634c3b3784e8694751e97030b9651d11d59c5 /meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
parentc2cb8d68c417f8093632897dc07441d54574ab6e (diff)
downloadpoky-21effd66408423b02845186f1007b1a58f3fba31.tar.gz
gcc: Fix removal of libiberty.a
The changes in commit 553a92c442bc3a35d1520a22e640a3a0e377b8f7 were not applying correctly due to the error: "find: paths must precede expression" This patch corrects the find syntax. [YOCTO #1199] (From OE-Core rev: b8d72e3af93ff9e2808fef4fe7b9d00b68bf9715) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
index 05b5dbc089..df5958ac77 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
@@ -40,8 +40,8 @@ do_install () {
40 rm -rf ${D}${datadir}/ 40 rm -rf ${D}${datadir}/
41 41
42 # We use libiberty from binutils 42 # We use libiberty from binutils
43 find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f 43 find ${D}${exec_prefix}/lib -name libiberty.a | xargs rm -f
44 find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f 44 find ${D}${exec_prefix}/lib -name libiberty.h | xargs rm -f
45 45
46 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are 46 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
47 # found. These need to be relative paths so they work in different locations. 47 # found. These need to be relative paths so they work in different locations.