Daniel Jacobowitz wrote:
> On Wed, Jan 03, 2007 at 02:42:20PM +0000, Thiemo Seufer wrote:
> > +CFLAGS += $(OS_CFLAGS)
> 
> Did you try this on any target that triggers one of the += cases?
> 
> It's not the most intuitive thing in the world, but I believe make
> ignores Makefile += operators if the variable was overridden on the
> command line (i.e. the override effectively happens after the +=).

You are right.

> You'd need to leave CFLAGS for the overrideable bits unless you
> wanted to override all the += deliberately.

I think I have to use "override CFLAGS += -ffoo".


Thiemo


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to