libcollectdclient: Build the library using -Wall -Werror.
[collectd.git] / src / libcollectdclient / Makefile.am
index f96db63..ca50560 100644 (file)
@@ -1,5 +1,9 @@
 AUTOMAKE_OPTIONS = foreign no-dependencies
 
+if COMPILER_IS_GCC
+AM_CFLAGS = -Wall -Werror
+endif
+
 pkginclude_HEADERS = client.h
 lib_LTLIBRARIES = libcollectdclient.la