Re: Environment variables, debian/rules and dpkg-buildpackage
On Mon, 11 May 2009, Russ Allbery wrote:
> Raphael Hertzog <email@example.com> writes:
> > BTW, just to make things clear. It's likely that those Makefile
> > snippet (if we decide to go that way) become quite more elaborated as
> > we try integrating support for things like hardening-wrapper (see
> > #489771). Expect stuff like "if debian/control has
> > Build-Options-Supported: hardening" then use that set of flags,
> > otherwise that one.
> I still think Build-Options-Supported is fundamentally the wrong way to
> implement that. You have to modify every package to add it anyway, in
> which case you can just as easily support it in the package's
> debian/rules the way that we already support various other
> DEB_BUILD_OPTIONS settings.
Except that with the centralized approach we can have an opt-out policy
after some time (ie use hardening options by default except for packages
that have set no-hardening).
My interest in centralizing those is simplifying any transition in
default flags that Debian would want to do. User customization is nice
but it's not what motivates me to push this forward.
Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :