projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1f1b97
)
Turn warnings into errors when debugging is enabled
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 21 Dec 2008 19:42:38 +0000
(20:42 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 21 Dec 2008 19:42:38 +0000
(20:42 +0100)
configure.ac
patch
|
blob
|
history
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
])