build: don't default to -Werror
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 17 May 2015 18:49:06 +0000 (20:49 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Tue, 2 Jun 2015 10:30:03 +0000 (12:30 +0200)
commit84021454eb0b126fda9cf29c46b7860f75c7ff8c
treeb0436c981065d176096a2980a113b3e2930819b5
parente486a3803d74d406d014847cc88f50cd1cef87c7
build: don't default to -Werror

It seems like a poor default for various downstream toolchains. We can't
anticipate the compiler warnings for future compiler versions and older
ones are prone to false positives. Also, older gdbus-codegen is known
to generate code that triggers compiler warnings.

Let's keep it enabled for maintainer builds and distcheck so that we're
sure a tool chain that builds releases without warnings exists.
Makefile.am
autogen.sh
m4/compiler_warnings.m4