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 /Makefile.maint | |
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.
Diffstat (limited to 'Makefile.maint')
-rw-r--r-- | Makefile.maint | 3 |
1 files changed, 3 insertions, 0 deletions
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 |