Better install the libraries improperly installed by gcc in prefix/target/lib instead of sysroot/usr/lib.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jun 15 20:51:37 2008 +0000 (2008-06-15)
changeset 56327d28e055f94
parent 562 c2a68cba6c0c
child 564 30fbb26a83b4
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(-)
scripts/build/cc_gcc.sh
     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  }