Backport #697 from trunk: 1.1
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 19 21:59:26 2008 +0000 (2008-06-19)
branch1.1
changeset 586363c7dd41131
parent 585 d2e5dc1b341c
child 587 c27787270792
Backport #697 from trunk:
Better install the libraries improperly installed by gcc in prefix/target/lib instead of sysroot/usr/lib.

/branches/1.1/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	Thu Jun 19 21:57:15 2008 +0000
     1.2 +++ b/scripts/build/cc_gcc.sh	Thu Jun 19 21:59:26 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  }