Re: Bug#613046: debian-policy: please update example in 4.9.1 (debian/rules and DEB_BUILD_OPTIONS)
* Julien Cristau <jcristau@debian.org> [110214 15:34]:
> On Mon, Feb 14, 2011 at 15:14:04 +0100, Raphael Hertzog wrote:
>
> > That said helper tools like "dh" should be free to use dpkg-buildflags
> > to set environment variables that ./configure and other similar calls
> > can inspect and use.
> >
> The usual way to pass CFLAGS to configure is as a command line argument,
> not an env var.
That's only available since 1999-10-31 [1], so while it is clearly is
the preferred and better way, some tools tend to give them as environment
variables.
Bernhard R. Link
[1] http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=7e4902123595c1f31617c15a54b7a0082516d0a5
Reply to: