Hi Peter,

Peter Eisentraut wrote:

> The format security flags offered by dpkg-buildflags are
>
> CFLAGS/CXXFLAGS="-Wformat -Wformat-security -Werror=format-security"
[...]
> Please remove "-Wformat-security" from the default configuration.

I suspect the intent is to allow

        DEB_CFLAGS_MAINT_STRIP=-Werror=format-security
        export DEB_CFLAGS_MAINT_STRIP

when the maintainer wants to keep -Wformat-security as a warning
without letting it provoke build errors.  Though a clearer way
to express the same thing might be

        DEB_CFLAGS_MAINT_APPEND=-Wno-error=format-security
        export DEB_CFLAGS_MAINT_APPEND

so this doesn't necessarily make your proposal bad. ;-)



-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to