Better install the libraries improperly installed by gcc in prefix/target/lib instead of sysroot/usr/lib.
/trunk/scripts/build/cc_gcc.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
1.1 --- a/scripts/build/cc_gcc.sh Sun Jun 15 19:55:56 2008 +0000
1.2 +++ b/scripts/build/cc_gcc.sh Sun Jun 15 20:51:37 2008 +0000
1.3 @@ -297,7 +297,8 @@
1.4 # gcc installs stuff in prefix/target/lib, when it would make better sense
1.5 # to install that into sysroot/usr/lib
1.6 CT_DoLog EXTRA "Moving improperly installed gcc libs to sysroot"
1.7 - ( cd "${CT_PREFIX_DIR}/${CT_TARGET}/lib"; tar cf - . ) | ( cd "${CT_SYSROOT_DIR}/usr/lib"; tar xfv - )
1.8 + ( cd "${CT_PREFIX_DIR}/${CT_TARGET}/lib"; tar cf - . ) | ( cd "${CT_SYSROOT_DIR}/usr/lib"; tar xfv - ) |CT_DoLog ALL
1.9 + rm -rf "${CT_PREFIX_DIR}/${CT_TARGET}/lib"
1.10
1.11 CT_EndStep
1.12 }