Re: Inert DEB_BUILD_OPTIONS noopt in debian/rules files
On Mon, 2014-10-06 at 19:10:47 +0200, Andreas Metzler wrote:
> Guillem Jover <firstname.lastname@example.org> wrote:
> > On Mon, 2014-10-06 at 01:55:01 +0200, Jakub Wilk wrote:
> > > Why?
> > 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).
And so it is! Thanks Andreas for the pointer, and sorry for the noise.