aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.am
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2005-11-01 10:23:56 +0000
committerThiemo Seufer <ths@networkno.de>2005-11-01 10:23:56 +0000
commit0876dd7ea13998eb02dc78feabc078fb13242582 (patch)
tree07c60d30989effa6100bd632bdb56f15c5d7d957 /gas/Makefile.am
parente85e5c83dbb4e9ba6949e41a02eac9b6762aaff2 (diff)
downloadgdb-0876dd7ea13998eb02dc78feabc078fb13242582.zip
gdb-0876dd7ea13998eb02dc78feabc078fb13242582.tar.gz
gdb-0876dd7ea13998eb02dc78feabc078fb13242582.tar.bz2
PR gas/1299
* Makefile.am: Disable -Werror for the itbl-lex.o rule. * Makefile.in: Regenerate.
Diffstat (limited to 'gas/Makefile.am')
-rw-r--r--gas/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/Makefile.am b/gas/Makefile.am
index ff7915a..17fc27f 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -623,7 +623,11 @@ bfin-lex.o: bfin-lex.c bfin-parse.h $(srcdir)/config/bfin-defs.h
# 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.