summaryrefslogtreecommitdiff
path: root/scripts/build/internals.sh
diff options
context:
space:
mode:
authorRay Donnelly <mingw.android@gmail.com>2014-04-12 12:18:15 (GMT)
committerAlexey Neyman <stilor@att.net>2016-08-23 18:00:27 (GMT)
commit27fed7e5f01495ce25dd605bb031954ed186f614 (patch)
treee9527259ff9e0b2f433b6aa3e5ba67911175c304 /scripts/build/internals.sh
parent098bd01f81b6eea922cb1c4edcd8aff398616641 (diff)
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 <mingw.android@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/internals.sh')
-rw-r--r--scripts/build/internals.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
index a2351ac..047becd 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
}