aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-08-31 00:55:44 -0700
committerMarcel Holtmann <marcel@holtmann.org>2011-08-31 00:55:44 -0700
commitf2b0277131609145cb039fe30bf1504cde7442d1 (patch)
tree02823a4a77ff963c6c45b2292694717249fb9bb1
parent6d5f2acf6874a5b3573a18da2c80576ea3c523bc (diff)
downloadbluez-hcidump-f2b0277131609145cb039fe30bf1504cde7442d1.tar.gz
bluez-hcidump-f2b0277131609145cb039fe30bf1504cde7442d1.tar.xz
bluez-hcidump-f2b0277131609145cb039fe30bf1504cde7442d1.zip
Compile with -Werror in maintainer mode
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index a2d0d4f..4594073 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -15,7 +15,7 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
fi
if (test "$USE_MAINTAINER_MODE" = "yes"); then
- CFLAGS+=" -Wextra"
+ CFLAGS+=" -Werror -Wextra"
CFLAGS+=" -Wno-unused-parameter"
CFLAGS+=" -Wno-missing-field-initializers"
CFLAGS+=" -Wdeclaration-after-statement"