summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-15 20:51:37 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-15 20:51:37 (GMT)
commitd48ade3ec87496c9cce9482efe8b998e59af9901 (patch)
treea902b4dfe32ae8a0d92f89433a8579f1002115f0 /scripts/build
parent6cea94c0498f35386172941be360e410a250836c (diff)
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(-)
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/cc_gcc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh
index 87e8ef2..06a9c1f 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
}