diff options
author | Jim Meyering <meyering@redhat.com> | 2009-12-25 20:19:37 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-01-06 10:34:59 +0100 |
commit | 9ce8c3516ab0ea01aad7dce876c8e825e14f1954 (patch) | |
tree | 67c93b5cd68c031c3667ad14044b12278f6d0207 /lib | |
parent | d857219e370bde27ae5b42a5fbe2d7e1bcee9076 (diff) | |
download | grep-9ce8c3516ab0ea01aad7dce876c8e825e14f1954.tar.gz |
build: add configure-time --enable-gcc-warnings option; avoid warnings
* bootstrap.conf (gnulib_modules): Add "manywarnings" module.
* configure.ac: Add --enable-gcc-warnings, derived from code in bison.
* src/Makefile.am (AM_CFLAGS): Set to $(WARN_CFLAGS) $(WERROR_CFLAGS)
* lib/Makefile.am (AM_CFLAGS): Likewise, but append.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 492ef321..7b34222b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -18,6 +18,8 @@ include gnulib.mk INCLUDES = -I.. -I$(srcdir) +AM_CFLAGS += $(WARN_CFLAGS) $(WERROR_CFLAGS) + libgreputils_a_SOURCES += \ savedir.c savedir.h |