From b8d72e3af93ff9e2808fef4fe7b9d00b68bf9715 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 4 Jul 2011 15:37:18 +0100 Subject: 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] Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-package-target.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-devtools/gcc/gcc-package-target.inc') diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc index 43e2bd5db..6cc308c6d 100644 --- a/meta/recipes-devtools/gcc/gcc-package-target.inc +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc @@ -88,8 +88,8 @@ do_install () { rm -f *gcc-?.?* # We use libiberty from binutils - find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f - find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f + find ${D}${exec_prefix}/lib -name libiberty.a | xargs rm -f + find ${D}${exec_prefix}/lib -name libiberty.h | xargs rm -f # Symlinks so we can use these trivially on the target ln -sf ${TARGET_PREFIX}g77 g77 || true -- cgit v1.2.3