projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Turn warnings into errors when debugging is enabled
[connman]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
3dcc2df
..
72cf446
100644
(file)
--- 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
])