This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: order of -D and -U is significant
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: "Unruh, Erwin" <erwin dot unruh at ts dot fujitsu dot com>
- Cc: GCC mailing list <gcc at gcc dot gnu dot org>
- Date: Tue, 04 Aug 2009 08:23:52 +0200
- Subject: Re: order of -D and -U is significant
- References: <F827A1300CC73247B0255EEEA5FFFB3B012A8BABDE5B@ABGEX70E.FSC.NET>
On 08/03/2009 03:52 PM, Unruh, Erwin wrote:
2) Is this a bug?
I think it's a bug in the specification.
User-specified CFLAGS are always passed last in the Makefiles (at least
for Automake, but it is a good practice in general) so that the user can
override options like -D, -U, -O, -g, -f, -m.
The specified behavior would make this impossible.
Paolo