[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposalto introduce compiler options passed from dpkg-buildpackage

On Tue, Dec 04, 2007 at 05:08:13PM +0100, Matthias Klose wrote:
> We define a set of macros which are passed from dpkg-buildpackage to

If you say "macros" you mean the same as environment variables?

> === Alternate naming of the macros ===
> Do omit the '''DEB_HOST_''' prefix and all packages should honour the
> value of CFLAGS etc. in the environment. Many packages are likely to
> do this by accident anyway. For packages that set CFLAGS etc., there
> are basically two common cases:
> It has the disadvantage that these macros might be injected into the
> build for some non-standard build systems.

If we would choose to use the common names without DEB_HOST_ prefix
should dpkg-buildpackage then honor them if they are already set in
the environment? Probably not as this seems error prone.

Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/

Reply to: