On Mon, 2014-10-06 at 19:10:47 +0200, Andreas Metzler wrote:
> Guillem Jover <guil...@debian.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.

Regards,
Guillem


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141008103758.ga9...@gaara.hadrons.org

Reply via email to