From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29363 invoked by alias); 5 Oct 2011 21:31:32 -0000 Received: (qmail 29350 invoked by uid 22791); 5 Oct 2011 21:31:30 -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-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Oct 2011 21:31:14 +0000 Received: by wyf22 with SMTP id 22so2571843wyf.0 for ; Wed, 05 Oct 2011 14:31:13 -0700 (PDT) Received: by 10.227.200.146 with SMTP id ew18mr3785828wbb.16.1317850273081; Wed, 05 Oct 2011 14:31:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.100.231 with HTTP; Wed, 5 Oct 2011 14:30:53 -0700 (PDT) In-Reply-To: <201110042214.47676.vapier@gentoo.org> References: <201110042214.47676.vapier@gentoo.org> From: Michael Hope Date: Wed, 05 Oct 2011 21:31:00 -0000 Message-ID: Subject: Re: [PATCH] Pass CXXFLAGS to binutils/gold To: Mike Frysinger Cc: crossgcc@sourceware.org, "Yann E. MORIN" Content-Type: text/plain; charset=ISO-8859-1 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-10/txt/msg00004.txt.bz2 On Wed, Oct 5, 2011 at 3:14 PM, Mike Frysinger wrote: > On Tuesday 04 October 2011 21:21:21 Michael Hope wrote: >> It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC >> target rules already do the same. > > especially because there are flags valid for the C compiler which are not valid > for the C++ compiler ... Yip. There's a good amount of deliberate overlap between the gcc, g++, and gfortran flags. In crosstool-NG it's currently only used for -pipe. -- Michael -- For unsubscribe information see http://sourceware.org/lists.html#faq