Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWSNj-0006jy-UK for qemu-devel@nongnu.org; Thu, 30 Jul 2009 05:57:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWSNd-0006b4-Fs for qemu-devel@nongnu.org; Thu, 30 Jul 2009 05:57:01 -0400 Received: from [199.232.76.173] (port=36399 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWSNd-0006al-BB for qemu-devel@nongnu.org; Thu, 30 Jul 2009 05:56:57 -0400 In-Reply-To: <4A716BCA.4050304@gnu.org> (Paolo Bonzini's message of "Thu\, 30 Jul 2009 11\:45\:46 +0200") References: <4A7144A6.5060704@gnu.org> <4A7166FA.9070401@gnu.org> <4A716BCA.4050304@gnu.org> From: Juan Quintela Date: Thu, 30 Jul 2009 11:54:57 +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: >> Ok, and what are that options? >> Looking at today Makefiles, the only things that I see that the user >> could want changing is: >> -g >> -O2 >> -fno-strict-aliasing >> -fno-unit-at-a-time (ppc) >> -msmall-data (alpha) >> -mno-sdata (ia64) >> >> Rest of things are -I/-D stuff, that you don't want to touch from the >> command line at all. >> >> Anything else? Should that be enough? > > I'd say only "-g -O2". > > -f and -m options should be left in QEMU_CFLAGS but CFLAGS should be > expanded *after* it so that people can add > -fstrict-aliasing/-funit-at-a-time/-mlarge-data/-msdata if they want > to enable those options explicitly. > > The rationale is that probably "make CFLAGS=-g" would break the build > on PPC, Alpha, and IA64; and "make CFLAGS='-O3 -g'" would break the > build everywhere due to the lack of -fno-strict-aliasing. Ok, with me, then the proposal is: rename CFLAGS into QEMU_CFLAGS leave in CFLAGS only "-g -O2" Voters that agree? Later, Juan.