]> git.saurik.com Git - bison.git/commitdiff
Pacify ./configure --enable-gcc-warnings.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 3 Apr 2009 04:32:27 +0000 (00:32 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 3 Apr 2009 04:32:27 +0000 (00:32 -0400)
* 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
Makefile.am
src/local.mk

index 86f1d918a368b9c16a6a4850527c539a359e12a4..d838b483ed3f8fa68309ad132727ae223d23a062 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-03  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       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  <demaille@gostai.com>
 
        bootstrap: --help to stdout.
 2009-03-31  Akim Demaille  <demaille@gostai.com>
 
        bootstrap: --help to stdout.
        -----
 
        Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996,
        -----
 
        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
 
        Copying and distribution of this file, with or without
        modification, are permitted provided the copyright notice and this
index ae424925c83279f0c1ec528e3661c88c66e887e3..e1c85061d04e6f20b5e024722246f0e8d43eed04 100644 (file)
@@ -31,7 +31,7 @@ EXTRA_DIST = .prev-version .version \
   OChangeLog PACKAGING
 
 # Initialization before completion by local.mk's.
   OChangeLog PACKAGING
 
 # Initialization before completion by local.mk's.
-AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
+AM_CFLAGS = $(WARN_CFLAGS)
 AM_CPPFLAGS =
 BUILT_SOURCES =
 DISTCLEANFILES =
 AM_CPPFLAGS =
 BUILT_SOURCES =
 DISTCLEANFILES =
index 6d9433062254add85171a0af735ecebaef1fbb72..111f16e156cd06ecc87206763af1d1dc4a883113 100644 (file)
@@ -31,6 +31,7 @@ bin_PROGRAMS = src/bison
 bin_SCRIPTS = $(YACC_SCRIPT)
 EXTRA_SCRIPTS = src/yacc
 
 bin_SCRIPTS = $(YACC_SCRIPT)
 EXTRA_SCRIPTS = src/yacc
 
+src_bison_CFLAGS = $(AM_CFLAGS) $(WERROR_CFLAGS)
 src_bison_SOURCES =                            \
   src/LR0.c                                    \
   src/LR0.h                                    \
 src_bison_SOURCES =                            \
   src/LR0.c                                    \
   src/LR0.h                                    \