scripts/build/internals.sh
changeset 2544 751c3f735ada
parent 2430 539a3fa894f0
child 2550 1ebc2248cc60
     1.1 --- a/scripts/build/internals.sh	Mon May 02 18:07:13 2011 +0200
     1.2 +++ b/scripts/build/internals.sh	Fri Apr 15 00:22:42 2011 +0200
     1.3 @@ -114,18 +114,8 @@
     1.4      # The symlinks are needed only during the build process.
     1.5      # The final gcc will still search those dirs, but will also search
     1.6      # the standard lib/ dirs, so we can get rid of the symlinks
     1.7 -    for d in                            \
     1.8 -        "${CT_PREFIX_DIR}"              \
     1.9 -        "${CT_PREFIX_DIR}/${CT_TARGET}" \
    1.10 -    ; do
    1.11 -        CT_DoExecLog ALL rm -f "${d}/lib32"
    1.12 -        CT_DoExecLog ALL rm -f "${d}/lib64"
    1.13 -    done
    1.14 -
    1.15 -    # Also remove the lib/ symlink out-side of sysroot
    1.16 -    if [ "${CT_USE_SYSROOT}" = "y" ]; then
    1.17 -        CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/${CT_TARGET}/lib"
    1.18 -    fi
    1.19 +    CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/lib32"
    1.20 +    CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/lib64"
    1.21  
    1.22      CT_EndStep
    1.23  }