Subject: Re: Bug#613046: debian-policy: please update example in 4.9.1 (debian/rules and DEB_BUILD_OPTIONS)

From: Russ Allbery <[email-masked]>
Date: Mon, 30 Jan 2012 10:56:09 -0800

Raphael Hertzog <[email-masked]> writes:

> Well, they are there so that you can tweak the output of dpkg-buildflags
> when the call happens in lower layer and that you have no control over
> the call and its output.

> And you must take care because $(shell dpkg-buildflags ...) will not see
> the DEB_CFLAGS_MAINT_PREPEND that you have set in the rules
> files. Either you do $(shell
> DEB_CFLAGS_MAINT_PREPEND=... dpkg-buildflags ...) or you use
> /usr/share/dpkg/buildflags.mk which does the right thing for you.

Or you just use:

    export DEB_CFLAGS_MAINT_PREPEND = -Wall

-- 
Russ Allbery ([email-masked])               <http://www.eyrie.org/~eagle/>