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

Bug#644133: lintian: dpkg 1.16.1 transition: warns about existing CFLAG in debian/rules



"Jean-Michel Vourgère" <jmv_deb@nirgal.com> writes:

> Some packages used to start debian/rules with things like:
> CFLAGS=-Wall -Werror=format-security

> However recent dpkg updates[1] not only make these pratices useless, but it
> also removes usefull flags such as -fstack-protector in that example.

> Lintian should warns about such flags overrides.

Just removing the CFLAGS will mean that no security flags are used at
all unless one is using dh with compat level 9.

I'm dubious that this is actually an error; it may be the maintainer
hard-coding the security flags that the package can actually handle.
Using dpkg-buildflags is desirable but optional.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: