On 09-10 07:23, Jonathan Nieder wrote: > Hi, > > Witold Baryluk <bary...@smp.if.uj.edu.pl> 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)
Yes, it looks that you are right. It looks that change will be slightly more invasive, but by being more explicit can be controled. Will update my patches (I have patches for around 20 packages now), and see how it works. Thanks. -- Witold Baryluk JID: witold.baryluk // jabster.pl
signature.asc
Description: Digital signature