This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Disable -Werror for itbl-lex.o rule


There are still tools in use (e.g. in Debian unstable) which produce
warnings for the itbl-lex code.

Ok to apply?


Thiemo


2005-11-01  Thiemo Seufer  <ths@networkno.de>

	* Makefile.am: Disable -Werror for the itbl-lex.o rule.
	* Makefile.in: Regenerate.


Index: gas/Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/Makefile.am,v
retrieving revision 1.126
diff -u -p -r1.126 Makefile.am
--- gas/Makefile.am	30 Oct 2005 17:27:33 -0000	1.126
+++ gas/Makefile.am	1 Nov 2005 02:05:46 -0000
@@ -623,7 +623,11 @@ bfin-lex.o: bfin-lex.c bfin-parse.h $(sr
 # The instruction table specification lexical analyzer and parser.
 
 itbl-lex.c: $(srcdir)/itbl-lex.l
+
+# Disable -Werror, if it has been enabled, since old versions of bison/
+# yacc will produce working code which contain compile time warnings. 
 itbl-lex.o: itbl-lex.c itbl-parse.h $(srcdir)/itbl-lex.h
+	$(COMPILE) -c $< $(NO_WERROR)
 
 # Disable -Werror, if it has been enabled, since old versions of bison/
 # yacc will produce working code which contain compile time warnings. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]