Browse Source

specify -Werror when possible. auth server code is now -Werror safe.

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1376 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
fd594fd170
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/bin/auth/Makefile.am

+ 3 - 0
src/bin/auth/Makefile.am

@@ -1,6 +1,9 @@
 SUBDIRS = . tests
 
 AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/ext $(SQLITE_CFLAGS)
+if GCC_WERROR_OK
+AM_CPPFLAGS += -Werror
+endif
 
 pkglibexecdir = $(libexecdir)/@PACKAGE@