build-sys: treat format errors as fatal (#4910)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 18 Dec 2016 20:47:41 +0000 (15:47 -0500)
committerMartin Pitt <martin.pitt@ubuntu.com>
Sun, 18 Dec 2016 20:47:41 +0000 (21:47 +0100)
commit12d6389c14816811c2418062b914b36a8a27ef5d
treed9e8d50895513474bd3e11801fc6a09bd1762996
parent3f4a69629df9c2a28073782b058e430756c35535
build-sys: treat format errors as fatal (#4910)

We currently don't expect any warnings about format strings, on any
architecture (#4612 removed the last few warnings). Turn those warnings into
errors in the future.

As requested by Martin Pitt.

gcc documentation says that -Wformat=2 includes -Wformat-security and
-Wformat-nonliteral so don't include them explicitly.
configure.ac