aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-16 07:38:00 +0200
committerMax Kellermann <max@duempel.org>2011-09-16 07:38:00 +0200
commit344b6dd179d1312cf370f1fbdcddc11370c52f73 (patch)
tree61837c26e46297db95a447e7515ab28d2bacd5a4 /configure.ac
parentd8c829fa0ce155ffe22a697250f66b741fc29f09 (diff)
downloadmpd-344b6dd179d1312cf370f1fbdcddc11370c52f73.tar.gz
mpd-344b6dd179d1312cf370f1fbdcddc11370c52f73.tar.xz
mpd-344b6dd179d1312cf370f1fbdcddc11370c52f73.zip
configure.ac: enable -Werror for C++
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 24b9a857d..1c0a38ce1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1480,6 +1480,7 @@ fi
dnl ---------------------------- warnings as errors ---------------------------
if test "x$enable_werror" = xyes; then
AM_CFLAGS="$AM_CFLAGS -Werror -pedantic-errors"
+ AM_CXXFLAGS="$AM_CXXFLAGS -Werror"
fi
dnl ---------------------------------------------------------------------------