From 6a03d5cd0f3d72760856f15b621c824e11ec7a07 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 25 Jun 2013 11:25:54 +0000 Subject: [PATCH] * Makefile.am (AM_CXXFLAGS): Add source file specific CXXFLAGS. (inilex_CXXFLAGS): Add -Wno-sign-compare to workaround failing build on Fedora 18 due to bison creating sign comparison mismatches in generic yylex wrapper code. --- ChangeLog | 7 +++++++ Makefile.am | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2cffcf92..11aba4a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-03-25 Corinna Vinschen + + * Makefile.am (AM_CXXFLAGS): Add source file specific CXXFLAGS. + (inilex_CXXFLAGS): Add -Wno-sign-compare to workaround failing build + on Fedora 18 due to bison creating sign comparison mismatches in + generic yylex wrapper code. + 2013-06-22 Christopher Faylor * ini.h (SETUP_BZ2_FILENAME): Reflect new architecture layout in ftp. diff --git a/Makefile.am b/Makefile.am index 33448aba..634848b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,7 @@ SUBDIRS := @subdirs@ tests # (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22207) BASECXXFLAGS = -Wall -Wno-uninitialized -Wpointer-arith -Wcomments \ -Wcast-align -Wwrite-strings -fno-builtin-sscanf -AM_CXXFLAGS = -Werror $(BASECXXFLAGS) +AM_CXXFLAGS = -Werror $(BASECXXFLAGS) ${$(*F)_CXXFLAGS} AM_CFLAGS = $(AM_CXXFLAGS) -Wmissing-declarations -Winline \ -Wstrict-prototypes -Wmissing-prototypes AM_YFLAGS = -d @@ -33,6 +33,8 @@ AM_LFLAGS = -8 WINDRES = @WINDRES@ AM_CPPFLAGS = -DLZMA_API_STATIC -I$(srcdir)/libgetopt++/include -I${srcdir}/regex +inilex_CXXFLAGS:=-Wno-sign-compare + noinst_PROGRAMS = @SETUP@$(EXEEXT) @INILINT@ EXTRA_PROGRAMS = inilint -- 2.43.5