mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-12 05:25:21 +00:00
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(-)
This commit is contained in:
parent
6cea94c049
commit
d48ade3ec8
@ -297,7 +297,8 @@ do_cc() {
|
|||||||
# gcc installs stuff in prefix/target/lib, when it would make better sense
|
# gcc installs stuff in prefix/target/lib, when it would make better sense
|
||||||
# to install that into sysroot/usr/lib
|
# to install that into sysroot/usr/lib
|
||||||
CT_DoLog EXTRA "Moving improperly installed gcc libs to sysroot"
|
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
|
CT_EndStep
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user