diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-19 21:59:26 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-19 21:59:26 (GMT) |
commit | 6b593896b0018bb5ed1e933e0d3e848b0c5af191 (patch) | |
tree | 8866bec27ca2628acd293441a0788300fc8197c1 /scripts | |
parent | 9f024cff7329b306c8a46a9e8893c996e9f31391 (diff) |
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(-)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/cc_gcc.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh index 4c85099..fcd5fb9 100644 --- a/scripts/build/cc_gcc.sh +++ b/scripts/build/cc_gcc.sh @@ -297,7 +297,8 @@ do_cc() { # gcc installs stuff in prefix/target/lib, when it would make better sense # to install that into sysroot/usr/lib CT_DoLog EXTRA "Moving improperly installed gcc libs to sysroot" - ( cd "${CT_PREFIX_DIR}/${CT_TARGET}/lib"; tar cf - . ) | ( cd "${CT_SYSROOT_DIR}/usr/lib"; tar xfv - ) + ( cd "${CT_PREFIX_DIR}/${CT_TARGET}/lib"; tar cf - . ) | ( cd "${CT_SYSROOT_DIR}/usr/lib"; tar xfv - ) |CT_DoLog ALL + rm -rf "${CT_PREFIX_DIR}/${CT_TARGET}/lib" CT_EndStep } |