summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-21 22:26:43 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-21 22:26:43 +0100
commit5a10a1b26aa475eaa7154ae9fbc63feff373a118 (patch)
treea4cb360d1e40a7294107921cc543f70da975265b
parentcf7a6439bda2f9834db991c5236d5758c265b144 (diff)
Turn warnings into errors when debugging is enabled
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index afc88d5d..3a997c34 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -306,7 +306,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
fi
if (test "${debug_enable}" = "yes" && test "${ac_cv_prog_cc_g}" = "yes"); then
- CFLAGS="$CFLAGS -g -O0"
+ CFLAGS="$CFLAGS -g -O0 -Werror"
fi
if (test "${usb_enable}" = "yes" && test "${usb_found}" = "yes"); then