From patchwork Sat Feb 22 07:46:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Hundven X-Patchwork-Id: 323129 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9C1102C014B for ; Sat, 22 Feb 2014 18:46:38 +1100 (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:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; q=dns; s=default; b=NNXn03/ppdfJjDo/+ZroY50JqdaUYXYWABIqHvszPa3 53q+6OsGfAhNH8yT1AhF9k8ca8+7Q2Owimkj76wRWMi0UqbJ1EaWevWP3sKkkLVO H8NAzBytZoOnDkK0BRnPdDT8IQKFxQPFj5mzbtaNCEP9PhPTwbwWxjcvmdgMT7Pk = 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:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; s=default; bh=o+AspjLKG/IQf8nvKnSREBHIRKU=; b=OWiE1xTdjq4Jsi7vo fcvunwbl936N6b9C/IGADabk2yINICWXg+mxEmTARoSFmUPz16v8ZYRDB0U9eH7B oBDUlLdGSKH47nWMFZ61PMGURtrxuSbl7up9WG82hchkcHB7mmbae6KSZ15TJr6B v7SqL9h63mc6aJNmOmF9tJrmSU= Received: (qmail 29666 invoked by alias); 22 Feb 2014 07:46:31 -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 29656 invoked by uid 89); 22 Feb 2014 07:46:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pb0-f50.google.com Received: from mail-pb0-f50.google.com (HELO mail-pb0-f50.google.com) (209.85.160.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 22 Feb 2014 07:46:30 +0000 Received: by mail-pb0-f50.google.com with SMTP id rq2so4424469pbb.37 for ; Fri, 21 Feb 2014 23:46:28 -0800 (PST) X-Received: by 10.68.12.74 with SMTP id w10mr13998513pbb.39.1393055188293; Fri, 21 Feb 2014 23:46:28 -0800 (PST) Received: from Bryans-MacBook-Pro.local (71-37-11-236.tukw.qwest.net. [71.37.11.236]) by mx.google.com with ESMTPSA id ha2sm11930637pbb.8.2014.02.21.23.46.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 21 Feb 2014 23:46:27 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH] config/gcc: Select CC_LANG_CXX for >= gcc-4.8 X-Mercurial-Node: 8056ff520353d2ef44b4127f8bc67d3feac40678 Message-Id: <8056ff520353d2ef44b4.1393055185@Bryans-MacBook-Pro.local> User-Agent: Mercurial-patchbomb/2.9+20140204 Date: Fri, 21 Feb 2014 23:46:25 -0800 From: bryanhundven@gmail.com To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-IsSubscribed: yes # HG changeset patch # User Bryan Hundven # Date 1393055172 28800 # Fri Feb 21 23:46:12 2014 -0800 # Node ID 8056ff520353d2ef44b4127f8bc67d3feac40678 # Parent 9321d9d7af9bd605eec2811b6703392331db3469 config/gcc: Select CC_LANG_CXX for >= gcc-4.8 Automatically select CXX if gcc is greater then or equal to 4.8. Also add CC_SUPPORT_GOLANG to CC_GCC_latest. Signed-off-by: Bryan Hundven --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 9321d9d7af9b -r 8056ff520353 config/cc/gcc.in --- a/config/cc/gcc.in Thu Feb 20 18:23:08 2014 +0000 +++ b/config/cc/gcc.in Fri Feb 21 23:46:12 2014 -0800 @@ -349,6 +349,7 @@ select CC_GCC_HAS_LNK_HASH_STYLE select CC_GCC_HAS_LIBQUADMATH select CC_SUPPORT_GOLANG + select CC_LANG_CXX config CC_GCC_4_8_or_later bool @@ -365,6 +366,8 @@ select CC_GCC_HAS_BUILD_ID select CC_GCC_HAS_LNK_HASH_STYLE select CC_GCC_HAS_LIBQUADMATH + select CC_SUPPORT_GOLANG + select CC_LANG_CXX config CC_GCC_HAS_GRAPHITE bool