[Build-common-hackers] Bug#523642: Bug#523642: overrides CFLAGS too agressively

Peter Eisentraut peter_e at gmx.net
Tue Apr 14 10:19:34 UTC 2009


On Saturday 11 April 2009 18:35:26 Robert Millan wrote:
> CFLAGS are overriden too agressively.  Some packages have very specific
> requirements when it comes to CFLAGS, and its upstream Makefiles will
> know better.  If CFLAGS is important for them, they can do things like:

Isn't this the exact some discussion as bug #521872, with s/LDFLAGS/CFLAGS/ ?  
In other words, we consider that proper makefiles should allow supplying CFLAGS 
without breaking.

Having a more concrete example (or two) would be good here to be able to judge 
what is wrong.

Also, you can override the passing of CFLAGS.  The details depend on the class 
you use.  Again, having a real example to look at would help.






More information about the Build-common-hackers mailing list