summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-11-19 15:39:47 +0100
committerJim Meyering <meyering@redhat.com>2009-11-20 10:20:54 +0100
commit163f2fa3e873d2dfebce2c41abc8532a9fa370f9 (patch)
tree32421a879a325e21adaa3d57f5f5f579aeeb5f10 /Makefile.am
parent3eee17bbbe3798d91b9e36f5756b0de391eb61d5 (diff)
downloaddiffutils-163f2fa3e873d2dfebce2c41abc8532a9fa370f9.tar.gz
build: enable many warnings
* configure.ac: Add support for --enable-gcc-warnings. * bootstrap.conf (gnulib_modules): Add manywarnings. * Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS) $(WERROR_CFLAGS)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index be74dae..a1d7f05 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,6 +20,7 @@ EXTRA_DIST = bootstrap exgettext ChangeLog-2008
SUBDIRS = lib src tests doc man po ms gnulib-tests
ACLOCAL_AMFLAGS = -I m4
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
# Arrange so that .tarball-version appears only in the distribution
# tarball, and never in a checked-out repository.