diff options
author | Jim Meyering <jim@meyering.net> | 2005-06-14 08:25:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-06-14 08:25:53 +0000 |
commit | c89c93ecf6bbd427680f73930c3860e56821effa (patch) | |
tree | 54344e2e3e0e0c7cef55c824348efc54872db649 | |
parent | a0e071d050f4647177a32826008a692248e6ec17 (diff) | |
download | coreutils-c89c93ecf6bbd427680f73930c3860e56821effa.tar.xz |
(my-distcheck): Add -Wall to the list of options that
are used with -Werror. This target is not intended for general use.
-rw-r--r-- | Makefile.maint | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint index e8bf443ed..b242b67ae 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -394,6 +394,8 @@ null_AM_MAKEFLAGS = \ # by the use of _(). The --disable-nls effectively defines away that macro, # and building with CFLAGS='-Wformat -Werror' causes any format warning to be # treated as a failure. Also, check for shadowing problems with -Wshadow. +# These CFLAGS are pretty strict. If you build this target, you probably +# have to have a recent version of gcc and glibc headers. TMPDIR ?= /tmp t=$(TMPDIR)/$(PACKAGE)/test my-distcheck: $(local-check) @@ -402,7 +404,7 @@ my-distcheck: $(local-check) GZIP=$(GZIP_ENV) $(AMTAR) -C $(t) -zxf $(distdir).tar.gz cd $(t)/$(distdir) \ && ./configure --disable-nls \ - && $(MAKE) CFLAGS='-Wformat -Werror -Wshadow' \ + && $(MAKE) CFLAGS='-Werror -Wall -Wformat -Wshadow' \ AM_MAKEFLAGS='$(null_AM_MAKEFLAGS)' \ && $(MAKE) dvi \ && $(MAKE) check \ |