From e021191bcff8eb388627a9b647b2f693490f1f8f Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Fri, 3 Apr 2009 00:32:27 -0400 Subject: [PATCH] Pacify ./configure --enable-gcc-warnings. * Makefile.am (AM_CFLAGS): Remove $(WERROR_CFLAGS) because many files in lib won't compile with it. * src/local.mk (src_bison_CFLAGS): Use $(WERROR_CFLAGS) here only. --- ChangeLog | 11 +++++++++-- Makefile.am | 2 +- src/local.mk | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 86f1d918..d838b483 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-04-03 Joel E. Denny + + Pacify ./configure --enable-gcc-warnings. + * Makefile.am (AM_CFLAGS): Remove $(WERROR_CFLAGS) because many files + in lib won't compile with it. + * src/local.mk (src_bison_CFLAGS): Use $(WERROR_CFLAGS) here only. + 2009-03-31 Akim Demaille bootstrap: --help to stdout. @@ -23219,8 +23226,8 @@ ----- Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 - Free Software Foundation, Inc. + 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + 2008, 2009 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this diff --git a/Makefile.am b/Makefile.am index ae424925..e1c85061 100644 --- a/Makefile.am +++ b/Makefile.am @@ -31,7 +31,7 @@ EXTRA_DIST = .prev-version .version \ OChangeLog PACKAGING # Initialization before completion by local.mk's. -AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) +AM_CFLAGS = $(WARN_CFLAGS) AM_CPPFLAGS = BUILT_SOURCES = DISTCLEANFILES = diff --git a/src/local.mk b/src/local.mk index 6d943306..111f16e1 100644 --- a/src/local.mk +++ b/src/local.mk @@ -31,6 +31,7 @@ bin_PROGRAMS = src/bison bin_SCRIPTS = $(YACC_SCRIPT) EXTRA_SCRIPTS = src/yacc +src_bison_CFLAGS = $(AM_CFLAGS) $(WERROR_CFLAGS) src_bison_SOURCES = \ src/LR0.c \ src/LR0.h \ -- 2.45.2