summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2019-10-05 15:14:32 -0400
committerPaul Smith <psmith@gnu.org>2019-10-05 17:48:19 -0400
commit5920d6d2b352f5f2630d1ea227b2e94517c175e7 (patch)
treeebbaeeacc47494e64f904efd8aaac9b36bf91249 /maintMakefile
parent2e6468c811ca89419f79692ef73445d6402720ac (diff)
downloadmake-git-5920d6d2b352f5f2630d1ea227b2e94517c175e7.tar.gz
* Makefile.am (check-regression): Use PERLFLAGS when running Perl
* maintMakefile: Set PERLFLAGS to enable warnings. * tests/run_make_tests.pl: Clean up issues pointed out by perl -w.
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/maintMakefile b/maintMakefile
index 0a44a623..a467ac08 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -26,6 +26,9 @@ GNUWEBDIR ?= $(SRCROOTDIR)/gnu-www
# Where to put the CVS checkout of the GNU make web repository
MAKEWEBDIR ?= $(SRCROOTDIR)/make/make-web
+# Enable Perl warnings for the test suite
+PERLFLAGS := -w
+
# We like mondo-warnings!
# Also force comments to be preserved. This helps when using ccache, in
# combination with GCC 7's implicit-fallthrough warning.