[Build-common-hackers] Bug#523642: overrides CFLAGS too agressively
Raphael Hertzog
hertzog at debian.org
Fri May 28 10:31:42 UTC 2010
On Sun, 12 Apr 2009, Jonas Smedegaard wrote:
> >Another option could be that when CFLAGS is unset (rather than empty),
> >CDBS detects this and doesn't pass anything as override. This allows
> >user to explicitly set CFLAGS in DEB_MAKE_ENVVARS, or not at all.
>
> Actually, first off when I read you initial post, I went straight into
> the code to try do this. But I didn't succeed - I suspect it is too
> difficult to distinguish unset from empty.
Maybe with this:
ifeq($(origin CFLAGS),undefined)
Cheers,
--
Raphaƫl Hertzog
Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/
More information about the Build-common-hackers
mailing list