From 63503c66c0ff6462ec02e1ed41cdcec3ae0792ae Mon Sep 17 00:00:00 2001 From: Marc Andre Tanner Date: Wed, 20 Jan 2010 00:49:42 +0100 Subject: [PATCH] uclibc: don't copy libgcc* from the toolchain to $STAGING_DIR Signed-off-by: Marc Andre Tanner --- sources/sections/uClibc.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sources/sections/uClibc.sh b/sources/sections/uClibc.sh index cc7c8a3..e9d410e 100644 --- a/sources/sections/uClibc.sh +++ b/sources/sections/uClibc.sh @@ -39,12 +39,11 @@ make $UCLIBC_MAKE_FLAGS PREFIX="$ROOT_DIR" install_runtime [ -e "$STAGING_DIR/usr/lib/libc.so" ] && \ sed -i 's,/lib/,,g' "$STAGING_DIR/usr/lib/libc.so" -# copy compiler related include files and libraries into -# $STAGING_DIR so that the compiler wrapper (ccwrap) will -# find it were it expects them. +# copy compiler related include files and into $STAGING_DIR +# so that the compiler wrapper (ccwrap) will find it were it +# expects them. cp -r "$(dirname $(which $CC))/../cc" "$STAGING_DIR/usr" || dienow -cp -P $(dirname $(which $CC))/../lib/libgcc* "$STAGING_DIR/usr/lib" || dienow # tell the compiler wrapper to link all further packages # against the newly built libc -- 2.11.4.GIT