summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-05-17 20:49:06 +0200
committerLubomir Rintel <lkundrak@v3.sk>2015-06-02 12:30:03 +0200
commit84021454eb0b126fda9cf29c46b7860f75c7ff8c (patch)
treeb0436c981065d176096a2980a113b3e2930819b5 /autogen.sh
parente486a3803d74d406d014847cc88f50cd1cef87c7 (diff)
downloadNetworkManager-84021454eb0b126fda9cf29c46b7860f75c7ff8c.tar.gz
build: don't default to -Werrorlr/ancient-ubuntu
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.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 141bcf120e..5ec9a5aa88 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -28,5 +28,5 @@ AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
cd $olddir
if test -z "$NOCONFIGURE"; then
- exec $srcdir/configure --enable-maintainer-mode "$@"
+ exec $srcdir/configure --enable-maintainer-mode --enable-more-warnings=error "$@"
fi