From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23225 invoked by alias); 17 Jan 2012 06:56:09 -0000 Received: (qmail 23216 invoked by uid 22791); 17 Jan 2012 06:56:09 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SARE_SUB_GETRID X-Spam-Check-By: sourceware.org Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Jan 2012 06:55:56 +0000 Received: by wicr5 with SMTP id r5so3446687wic.0 for ; Mon, 16 Jan 2012 22:55:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.107.195 with SMTP id he3mr25764531wib.13.1326783355067; Mon, 16 Jan 2012 22:55:55 -0800 (PST) Received: by 10.216.89.204 with HTTP; Mon, 16 Jan 2012 22:55:55 -0800 (PST) Date: Tue, 17 Jan 2012 06:56:00 -0000 Message-ID: Subject: [PATCH] scripts: get rid of all lib32 and lib64 symlinks From: Zhenqiang Chen To: "Yann E. MORIN" Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00029.txt.bz2 exporting patch: # HG changeset patch # User Zhenqiang Chen # Date 1326782932 -28800 # Node ID 6731bc1a8c3a48f8280ec0a8eb2b6d7bb899ee03 # Parent f342d015191766d83bd761d6d1fb3266a5937433 scripts: get rid of all lib32 and lib64 symlinks lib32 and lib64 are created in ${CT_PREFIX_DIR}, ${CT_SYSROOT_DIR}, ${CT_SYSROOT_DIR}/usr and ${CT_PREFIX_DIR}/${CT_TARGET}. We'd get rid all of them. Signed-off-by: Zhenqiang Chen diff -r f342d0151917 -r 6731bc1a8c3a scripts/build/internals.sh --- a/scripts/build/internals.sh Tue Jan 17 11:31:47 2012 +0800 +++ b/scripts/build/internals.sh Tue Jan 17 14:48:52 2012 +0800 @@ -114,8 +114,8 @@ # 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_DoExecLog ALL find ${CT_PREFIX_DIR} -type l -name lib64 -exec rm {} \; + CT_DoExecLog ALL find ${CT_PREFIX_DIR} -type l -name lib32 -exec rm {} \; CT_EndStep } -- For unsubscribe information see http://sourceware.org/lists.html#faq