Re: Inert DEB_BUILD_OPTIONS noopt in debian/rules files
Guillem Jover <firstname.lastname@example.org> wrote:
> On Mon, 2014-10-06 at 01:55:01 +0200, Jakub Wilk wrote:
> Because make does not (yet) pass make variables to $(shell) subshells.
> Try this:
> $ make -f debian/rules DEB_BUILD_OPTIONS=noopt build
> instead. This just breaks the interface. We could of course simply
> just document that people should not do that… it's still a regression
> from when people switched to dpkg-buildflags (me included).
I think that it is already documented perfectly well in policy 4.9.1
which explicitely says that DEB_BUILD_OPTIONS is an *environment*
variable (not a make variable).
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'