From patchwork Fri Mar 23 16:22:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Kosnik X-Patchwork-Id: 148468 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]) by ozlabs.org (Postfix) with SMTP id 0414DB6EE6 for ; Sat, 24 Mar 2012 03:23:17 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1333124598; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:Subject:Message-ID:In-Reply-To:References: Mime-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=SXiSQ6+EbRWZ9TKC/G15h0owC+E=; b=QMgGGvawa/5dP/5 AzwPNO4UDUJcM8ifOll0btaYVj+6h4ruxxKcgsUvqYNSxmc6OO2D25IHLXo0Jhs/ Wgol4r5RuNx4C899qkCN1x2ITWnV4EA+3wH6d+RWGon8QqzoBPbCuj6PYzBCJVgI rT0CERxFbsdGoAQCNqYumivY6LWk= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Mime-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=YyaUNFuPqmNANj/w5XhBSlBgoZSViL71Cc3XLwtf/nSZzmFuuoUZk4SeZPb68l UdLYvIDYGxfkg8Muq71Jiteb3s7TU7Aj2ZbEnNochZSiPepHR7Zm3+Fbz9ygxFcn 5r2msXGv4DEiBhvsd8j/3/11bZEJS6VGYRzlKZWRrG5Xc=; Received: (qmail 30321 invoked by alias); 23 Mar 2012 16:22:56 -0000 Received: (qmail 30274 invoked by uid 22791); 23 Mar 2012 16:22:54 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, SPF_HELO_PASS, TW_CX, TW_XL, TW_XP, TW_XX, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Mar 2012 16:22:15 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2NGMEKG023244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 23 Mar 2012 12:22:14 -0400 Received: from adair (ovpn-113-59.phx2.redhat.com [10.3.113.59]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2NGMEYd007820; Fri, 23 Mar 2012 12:22:14 -0400 Date: Fri, 23 Mar 2012 09:22:20 -0700 From: Benjamin De Kosnik To: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: Re: [v3] remove duplicate cxxflags Message-ID: <20120323092220.70eddc57@adair> In-Reply-To: <20120323092143.2c6e6ba4@adair> References: <20120323092143.2c6e6ba4@adair> Mime-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org ... here's the patch. 2012-03-22 Benjamin Kosnik * scripts/testsuite_flags.in (--cxxflags): Let CXXFLAGS set -g -O2. * testsuite/lib/libstdc++.exp: Same. diff --git a/libstdc++-v3/scripts/testsuite_flags.in b/libstdc++-v3/scripts/testsuite_flags.in index 457adaf..f77784b 100755 --- a/libstdc++-v3/scripts/testsuite_flags.in +++ b/libstdc++-v3/scripts/testsuite_flags.in @@ -54,7 +54,7 @@ case ${query} in echo ${CC} ;; --cxxflags) - CXXFLAGS_default="-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0" + CXXFLAGS_default="-D_GLIBCXX_ASSERT -fmessage-length=0" CXXFLAGS_config="@SECTION_FLAGS@ @CXXFLAGS@ @EXTRA_CXX_FLAGS@" echo ${CXXFLAGS_default} ${CXXFLAGS_config} ;; diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index f24d877..c1ccfa5 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -212,7 +212,7 @@ proc libstdc++_init { testfile } { # Default settings. set cxx [transform "g++"] - set cxxflags "-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0" + set cxxflags "-D_GLIBCXX_ASSERT -fmessage-length=0" set cxxpchflags "" set cxxldflags "" set cc [transform "gcc"]