From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103976 invoked by alias); 20 Jan 2016 22:53:00 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 103951 invoked by uid 89); 20 Jan 2016 22:52:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Yeah, H*M:7030100 X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 20 Jan 2016 22:52:58 +0000 Received: from EUSAAHC003.ericsson.se (Unknown_Domain [147.117.188.81]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id C8.1D.32102.7BF00A65; Wed, 20 Jan 2016 23:52:39 +0100 (CET) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.83) with Microsoft SMTP Server id 14.3.248.2; Wed, 20 Jan 2016 17:52:55 -0500 Subject: Re: [PATCH] gdb: Respect CXXFLAGS when building with C++ compiler To: Pedro Alves , References: <1453288024-19890-1-git-send-email-palves@redhat.com> <569FE883.7050706@ericsson.com> <569FF0B2.7070300@redhat.com> From: Simon Marchi Message-ID: <56A00FC7.7030100@ericsson.com> Date: Wed, 20 Jan 2016 22:53:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <569FF0B2.7070300@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00495.txt.bz2 On 16-01-20 03:40 PM, Pedro Alves wrote: > Yeah, it crossed my mind too, but then all others end up _CFLAGS, > like INTERNAL_CFLAGS, GLOBAL_CFLAGS, GDB_WERROR_CFLAGS, > INTERNAL_WARN_CFLAGS, etc., which are used in c++ too, > that I thought it ended up looking the odd one out. WDYT? Then you can change the others too :) INTERNAL_CFLAGS -> INTERNAL_COMPILER_FLAGS GLOBAL_CFLAGS -> GLOBAL_COMPILER_FLAGS GDB_WERROR_CFLAGS -> GDB_WERROR_COMPILER_FLAGS etc... But it's a minor detail and probably temporary too, so I'm fine with COMPILER_CFLAGS.