From 27fed7e5f01495ce25dd605bb031954ed186f614 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Sat, 12 Apr 2014 13:18:15 +0100 Subject: crosstool-NG.sh.in: Don't make lots of symlinks to lib folder For 4 different folders: ${CT_PREFIX_DIR} ${CT_SYSROOT_DIR} ${CT_SYSROOT_DIR}/usr ${CT_PREFIX_DIR}/${CT_TARGET} .. symlinks from 'lib32' and 'lib64' to 'lib' were created. This was untidy and incorrect for multilib (the bitness of the libraries in 'lib32' and 'lib64' will not be the same) We can not know which folders this toolchain configuration will require at this time so let them be created on-demand instead. Changed by Alexey Neyman: original change removed too much; we still need to create the default directories because the os directories are based off them (e.g. `lib/../lib64'). Signed-off-by: Ray Donnelly Signed-off-by: Alexey Neyman --- scripts/build/internals.sh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'scripts/build/internals.sh') diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh index a2351acd..047becd9 100644 --- a/scripts/build/internals.sh +++ b/scripts/build/internals.sh @@ -118,12 +118,5 @@ do_finish() { CT_DoForceRmdir "${CT_DEBUGROOT_DIR}/"{,usr/}{,share/}{man,info} fi - # Remove the lib* symlinks, now: - # The symlinks are needed only during the build process. - # The final gcc will still search those dirs, but will also search - # the standard lib/ dirs, so we can get rid of the symlinks - CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/lib32" - CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/lib64" - CT_EndStep } -- cgit v1.2.3