From patchwork Tue May 14 03:36:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenqiang Chen X-Patchwork-Id: 243590 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 530BF2C00B5 for ; Tue, 14 May 2013 13:37:00 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :cc:content-type; q=dns; s=default; b=SIYoS3aynSDcc8ynqBFNztqx2x qkgAbbJj0RefQ0EWwlLOL1T81zmbUhynZ74iTlmoVOemfwHHjMSoVDfBHG6tENqG 4Irwzr0JHlwGqB/eJHR7Db38JAmkb6XogIpISCq12GBm06s2ocwncJbe2WLCFPGN IOaFFOselsS4ApqMg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :cc:content-type; s=default; bh=VtbKjYzlGY0ylzNElUQXXBHtowA=; b= ebxQgtHZpHwdDqF4tsZZHMbFzOFIgW+kPwF1T11J+oV6TFaYd1QFKg7AlkLGUcRF iA9GiC6jvZCXlUI9SSSh9K2r0GYZeM6TFA7u5PAU/9iwiKwgN/9o+J/3IxzqHPET m2hlkxctdHcDm1QyULrVVyIWH/CAlI7/KVaFUbW/Cw4= Received: (qmail 24485 invoked by alias); 14 May 2013 03:36:54 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 24474 invoked by uid 89); 14 May 2013 03:36:53 -0000 X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mail-la0-f41.google.com (HELO mail-la0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 14 May 2013 03:36:52 +0000 Received: by mail-la0-f41.google.com with SMTP id lx15so47206lab.14 for ; Mon, 13 May 2013 20:36:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type:x-gm-message-state; bh=0U/wFpDxDO9eM8hNPbkuu5f6TMZpaAtzcgjqMljTzIc=; b=NL4Nn1nxcJ7X/CZasMYPUIO/ymaCezPKnCw2PrLqxDXKawG7T1Il9fFfxtbVnDWAdX g9Ftx8VpjBwfwjxRBracF3zJ8WPPo4RoR3J/B6SZnDP3TByz8ifQESs9d16jCKCWPnip Q7jdsprqCBfszoX+qcllrpy7rSmx2BhkINbceXYAj/OpIW8/ZNKRQZ+rQBAAOF+GO2a5 MtMXGsfBPcCU2xsZkuHTP0iBziBS8xZHw3r33/CNsy7A0Vt1E7LvEY6XS30FD56A7ykW BsTMpEfT98zEBG35UK573hjp00a+t85MYAf0YEvK6dfR/RnnQb2vWQBropUWazuRlum7 x3jA== MIME-Version: 1.0 X-Received: by 10.112.201.4 with SMTP id jw4mr14424216lbc.47.1368502609644; Mon, 13 May 2013 20:36:49 -0700 (PDT) Received: by 10.112.134.197 with HTTP; Mon, 13 May 2013 20:36:49 -0700 (PDT) Date: Tue, 14 May 2013 11:36:49 +0800 Message-ID: Subject: [PATCH] cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build From: Zhenqiang Chen To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-Gm-Message-State: ALoCoQlxVVTPtgd9IfklqkN/rGNwf6QTCmxnOJZ++vSR1KtMsY4rhB/eBjHfle/guWeQQmFiBQwH exporting patch: # HG changeset patch # User Zhenqiang Chen # Date 1368428456 -28800 # Node ID 9075bc7ba894ee8e33ebcf6c943b43a8ec1e45ad # Parent 374dfd876af2bd1beec0b9d513b68a82c42586c7 cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build. From 4.8, g++ is used as the default compiler to build the toolchain. Signed-off-by: Zhenqiang Chen --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 374dfd876af2 -r 9075bc7ba894 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Fri May 03 17:12:15 2013 +0000 +++ b/scripts/build/cc/gcc.sh Mon May 13 15:00:56 2013 +0800 @@ -432,6 +432,7 @@ # configurations. if [ "${CT_BARE_METAL},${CT_CANADIAN}" = "y,y" ]; then repair_cc="CC_FOR_BUILD=${CT_BUILD}-gcc \ + CXX_FOR_BUILD=${CT_BUILD}-g++ \ GCC_FOR_TARGET=${CT_TARGET}-gcc" else repair_cc=""