From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2128 invoked by alias); 22 Nov 2011 11:32:49 -0000 Received: (qmail 2120 invoked by uid 22791); 22 Nov 2011 11:32:48 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_CX,TW_DC X-Spam-Check-By: sourceware.org Received: from mail-gx0-f169.google.com (HELO mail-gx0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Nov 2011 11:32:17 +0000 Received: by ggnq1 with SMTP id q1so119239ggn.0 for ; Tue, 22 Nov 2011 03:32:17 -0800 (PST) Received: by 10.50.100.194 with SMTP id fa2mr20099327igb.49.1321961537011; Tue, 22 Nov 2011 03:32:17 -0800 (PST) Received: from [192.168.0.100] ([122.84.23.42]) by mx.google.com with ESMTPS id dd36sm58883620ibb.7.2011.11.22.03.32.14 (version=SSLv3 cipher=OTHER); Tue, 22 Nov 2011 03:32:16 -0800 (PST) Message-ID: <4ECB8838.90005@linaro.org> Date: Tue, 22 Nov 2011 11:32:00 -0000 From: Zhenqiang Chen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: yann.morin.1998@anciens.enib.fr CC: crossgcc@sourceware.org Subject: [PATCH] cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2011-11/txt/msg00118.txt.bz2 # HG changeset patch # User Zhenqiang Chen # Date 1321587170 -28800 # Node ID 034050d2fbe6af17d4e89b9d32ef2f68d8f7c041 # Parent a6c68712024f406df7d2da4af377f51982615833 cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core. Otherwise, users have to input --disable-libstdcxx-pch option when building bare-metal CANADIAN C++ compiler. Reviewed-by: Michael Hope Signed-off-by: Zhenqiang Chen diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -289,6 +289,8 @@ extra_config+=(--disable-libgomp) extra_config+=(--disable-libmudflap) + [ "${CT_CC_GCC_DISABLE_PCH}" = "y" ] && extra_config+=("--disable-libstdcxx-pch") + CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'" # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532) -- For unsubscribe information see http://sourceware.org/lists.html#faq