From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28715 invoked by alias); 27 Feb 2012 07:31:30 -0000 Received: (qmail 28698 invoked by uid 22791); 27 Feb 2012 07:31:27 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW 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; Mon, 27 Feb 2012 07:31:14 +0000 Received: by wibhj13 with SMTP id hj13so3455267wib.0 for ; Sun, 26 Feb 2012 23:31:13 -0800 (PST) Received-SPF: pass (google.com: domain of zhenqiang.chen@linaro.org designates 10.180.24.7 as permitted sender) client-ip=10.180.24.7; Authentication-Results: mr.google.com; spf=pass (google.com: domain of zhenqiang.chen@linaro.org designates 10.180.24.7 as permitted sender) smtp.mail=zhenqiang.chen@linaro.org Received: from mr.google.com ([10.180.24.7]) by 10.180.24.7 with SMTP id q7mr25171270wif.14.1330327873732 (num_hops = 1); Sun, 26 Feb 2012 23:31:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.24.7 with SMTP id q7mr20032545wif.14.1330327873639; Sun, 26 Feb 2012 23:31:13 -0800 (PST) Received: by 10.180.8.163 with HTTP; Sun, 26 Feb 2012 23:31:13 -0800 (PST) Date: Mon, 27 Feb 2012 07:31:00 -0000 Message-ID: Subject: [PATCH] bugfix: core_prefix_dir should be prefix in gcc.sh From: Zhenqiang Chen To: "Yann E. MORIN" Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlm5BBxR3wm58cayJjXSKw/MkqxC2TmmkW0DHc1anUBPNeYZhX1ALiTU4uscAEIRhSlMBBU 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-02/txt/msg00091.txt.bz2 exporting patch: # HG changeset patch # User Zhenqiang Chen # Date 1330327458 -28800 # Node ID 9796f53c7bab5a5bd281ae18f53d6dd6739ec84a # Parent 369e2fbe9010a1911d61b56c977d2c94949daef9 cc/gcc: Update core_prefix_dir to prefix. core_prefix_dir is not defined. It should be prefix. Signed-off-by: Zhenqiang Chen diff -r 369e2fbe9010 -r 9796f53c7bab scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Sun Jul 24 19:35:24 2011 +0200 +++ b/scripts/build/cc/gcc.sh Mon Feb 27 15:24:18 2012 +0800 @@ -463,7 +463,7 @@ CT_DoExecLog ALL ln -sfv "${CT_TARGET}-gcc${ext}" "${prefix}/bin/${CT_TARGET}-cc${ext}" if [ "${CT_MULTILIB}" = "y" ]; then - multilibs=( $( "${core_prefix_dir}/bin/${CT_TARGET}-gcc" -print-multi-lib \ + multilibs=( $( "${prefix}/bin/${CT_TARGET}-gcc" -print-multi-lib \ |tail -n +2 ) ) if [ ${#multilibs[@]} -ne 0 ]; then CT_DoLog EXTRA "gcc configured with these multilibs (besides the default):" -- For unsubscribe information see http://sourceware.org/lists.html#faq