summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-03-01 08:26:46 +0100
committerJim Meyering <meyering@redhat.com>2011-03-26 14:20:28 +0100
commit7db26531249dc63cbc83fe98def44beca37545dd (patch)
tree2e1617a643c7ee12e16059bdbb7970680b9f2269 /src
parent2876ed918f00810f399dcb626df61feea389bfac (diff)
downloadpatch-7db26531249dc63cbc83fe98def44beca37545dd.tar.gz
build: accept new configure-time option --enable-gcc-warnings
* configure.ac: Enable many options. * bootstrap.conf (gnulib_modules): Add manywarnings. * src/Makefile.am (AM_CFLAGS): Use $(WARN_CFLAGS) and $(WERROR_CFLAGS).
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c119cfb..fc64a66 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,6 +16,8 @@
## Process this file with automake to produce Makefile.in.
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
+
bin_PROGRAMS = patch
patch_SOURCES = \
bestmatch.h \