=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.246 retrieving revision 1.247 diff -u -p -r1.246 -r1.247 --- mandoc/Makefile 2010/01/01 17:14:26 1.246 +++ mandoc/Makefile 2010/01/01 17:25:07 1.247 @@ -263,11 +263,11 @@ config.h: config.h.pre config.h.post rm -f config.log ( cat config.h.pre; \ echo; \ - if $(CC) $(CFLAGS) -c test-strlcat.c >> config.log 2>&1; then \ + if $(CC) $(CFLAGS) -Werror -c test-strlcat.c >> config.log 2>&1; then \ echo '#define HAVE_STRLCAT'; \ rm test-strlcat.o; \ fi; \ - if $(CC) $(CFLAGS) -c test-strlcpy.c >> config.log 2>&1; then \ + if $(CC) $(CFLAGS) -Werror -c test-strlcpy.c >> config.log 2>&1; then \ echo '#define HAVE_STRLCPY'; \ rm test-strlcpy.o; \ fi; \