From: Marcel Holtmann Date: Sun, 21 Dec 2008 19:42:38 +0000 (+0100) Subject: Turn warnings into errors when debugging is enabled X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~4381 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32e29cbf5000a7750f3b3e2fc52f3c6828e778f9;p=profile%2Fivi%2Fconnman.git Turn warnings into errors when debugging is enabled --- diff --git a/configure.ac b/configure.ac index 3dcc2df..72cf446 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [enable compiling with debugging information]), [ if (test "${enableval}" = "yes" && test "${ac_cv_prog_cc_g}" = "yes"); then - CFLAGS="$CFLAGS -g -O0" + CFLAGS="$CFLAGS -g -O0 -Werror" fi ])