diff options
author | Jim Meyering <jim@meyering.net> | 2006-11-26 18:51:27 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-11-26 18:51:27 +0100 |
commit | a43ee65ee5f30f4a82545033412b3d9a9e37bdaf (patch) | |
tree | 2e59be4a3fe891bbb145c34042907b928967bb74 | |
parent | 549bbdf7b4bcae69dc91ad8e9a4f64426ec1112c (diff) | |
download | coreutils-a43ee65ee5f30f4a82545033412b3d9a9e37bdaf.tar.xz |
* Makefile.maint (patch-check): Compile patched sources with
CFLAGS='-Wdeclaration-after-statement -Werror', to ensure that
no violations remain.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Makefile.maint | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2006-11-26 Jim Meyering <jim@meyering.net> + * Makefile.maint (patch-check): Compile patched sources with + CFLAGS='-Wdeclaration-after-statement -Werror', to ensure that + no violations remain. + * src/c99-to-c89.diff: Remove 3 bogus hunks. * src/remove.c (fd_to_subdirp): Remove unused parameter, ds. diff --git a/Makefile.maint b/Makefile.maint index 8fa6f7091..9400b4993 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -334,6 +334,9 @@ patch-check: if test "$${REGEN_PATCH+set}" = set; then \ diff -upr src src-c89 > new-diff || : ; fi fail=0; test -s $@.2 && fail=1 || : ; \ + rm -f src-c89/*.o || fail=1; \ + $(MAKE) -C src-c89 CFLAGS='-g -Wdeclaration-after-statement -Werror' \ + || fail=1; \ rm -rf src-c89 $@.1 $@.2; \ test $$fail = 0 |