[Build-common-hackers] Bug#411520: Bug#411520: cdbs: Does not preserve the CFLAGS variable

Peter Eisentraut peter_e at gmx.net
Fri May 18 20:15:21 UTC 2007


Luis wrote:
> The makefiles of the CDBS package don't preserve the CFLAGS variable.
> The file /usr/share/cdbs/1/class/langcore.mk contains:
>  CFLAGS = -g -Wall
> instead of:
>  CFLAGS += -g -Wall

This is pretty much how every package does it; nothing special to CDBS.  
I know of nothing in the policy or the reference that ways you should 
pick up CFLAGS from the environment.  In fact, I believe it would be 
totally wrong to do so.  If you want special compilation options, you 
should record them in a makefile.




More information about the Build-common-hackers mailing list