[PATCH] Disable -Werror for itbl-lex.o rule
Thiemo Seufer
ths@networkno.de
Tue Nov 1 02:11:00 GMT 2005
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.
More information about the Binutils
mailing list