Bug#613046: debian-policy: please update example in 4.9.1 (debian/rules and DEB_BUILD_OPTIONS)
Raphael Hertzog <hertzog@debian.org> 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 (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: