From bc009ed6a46ec81d1b48c818dac0ea3737a75828 Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Tue, 1 Mar 2011 06:44:12 -0800 Subject: gcc: take out libiberty files from gcc packages this Fixes [BUGID #754] (From OE-Core rev: 553a92c442bc3a35d1520a22e640a3a0e377b8f7) Signed-off-by: Nitin A Kamble Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-package-target.inc | 4 ++++ 1 file changed, 4 insertions(+) (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 3286da6a95..d61e96b57b 100644 --- a/meta/recipes-devtools/gcc/gcc-package-target.inc +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc @@ -86,6 +86,10 @@ do_install () { # We don't care about the gcc- ones for this 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 + # Symlinks so we can use these trivially on the target ln -sf ${TARGET_SYS}-g77 g77 || true ln -sf ${TARGET_SYS}-gfortran gfortran || true -- cgit v1.2.3-54-g00ecf