Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWPus-0003Xe-C4 for qemu-devel@nongnu.org; Thu, 30 Jul 2009 03:19:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWPun-0003Sa-Lh for qemu-devel@nongnu.org; Thu, 30 Jul 2009 03:19:05 -0400 Received: from [199.232.76.173] (port=44048 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWPun-0003SQ-F9 for qemu-devel@nongnu.org; Thu, 30 Jul 2009 03:19:01 -0400 In-Reply-To: <4A7144A6.5060704@gnu.org> (Paolo Bonzini's message of "Thu\, 30 Jul 2009 08\:58\:46 +0200") References: <4A7144A6.5060704@gnu.org> From: Juan Quintela Date: Thu, 30 Jul 2009 09:16:59 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org Paolo Bonzini wrote: > Just wanted to point out that this is wrong. -I and -D *are* CPPFLAGS. Tell that to sdl-config --cflags and friends :p > However, the real issue is that CFLAGS should be reserved for the user > at make time (defaulting to something *constant* like -O2 -g or > whatever else). Actually so should CPPFLAGS, but at least it is much > less likely to be used, while "make CFLAGS=-g" is common during > development and supported by almost every package I know of. > > You can also call it QEMU_CPPFLAGS or QEMU_CFLAGS and we can be happy. > You then have to add both $(QEMU_CPPFLAGS) and $(CFLAGS) to > compilation commands in both configure and Make. If there is an agreement about that, I don't care remaining. As things stand now, the difference between CFLAGS and CPPFLAGS in qemu was artificial. Later, Juan.