Hi, Witold Baryluk <[email protected]> wrote:
> In Debian main mechanism for providing building flags when building > packages is by using /etc/dpkg/buildflags.conf. > > This file is readed by dpkg-buildpackage, and nacassary > environment variables are created before debian/rules > is executed. I think that mechanism is deprecated (or rather, was never recommended by policy[1] at all); instead, new debian/rules files are supposed to use something like CFLAGS := $(shell dpkg-buildflags --get CFLAGS) This sounds worth doing for wheezy, indeed. Thanks for the report, Jonathan [1] since dpkg-buildpackage is not part of the policy-specified interface for building packages. e.g. see http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

