diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-01 17:25:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-01 17:25:07 +0000 |
commit | a4d4af491b3929e360e2636b10c3d4b90588691f (patch) | |
tree | aa971b07ed7e5b7b7158c9b6ad889d4233a733e8 /Makefile | |
parent | 92f665747e9d9aecac7c203e53d4eb175e662fc8 (diff) | |
download | mandoc-a4d4af491b3929e360e2636b10c3d4b90588691f.tar.gz |
CFLAGS need -Werror to make the strlcpy/strlcat check work.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; \ |