aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.am
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-03-21 15:35:34 +0000
committerNick Clifton <nickc@redhat.com>2005-03-21 15:35:34 +0000
commit1a66a0171c77ebc0411841a6e654bbf8c8073d03 (patch)
treecafbc5f39e4510595571cde6fab99c5ec7ffdf0d /gas/Makefile.am
parent3d0636914acceafb2d253bb7eb4548eb97fee21e (diff)
downloadgdb-1a66a0171c77ebc0411841a6e654bbf8c8073d03.zip
gdb-1a66a0171c77ebc0411841a6e654bbf8c8073d03.tar.gz
gdb-1a66a0171c77ebc0411841a6e654bbf8c8073d03.tar.bz2
(sh_elf_final_processing): Fix compile time warning by providing a prototype
for sh_symbian_find_elf_flags.
Diffstat (limited to 'gas/Makefile.am')
-rw-r--r--gas/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/Makefile.am b/gas/Makefile.am
index 10b2a5a..1a4c30c 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -641,7 +641,10 @@ m68k-parse.c: $(srcdir)/config/m68k-parse.y
if [ $$f = "m68k-parse.y" ]; then \
rm -f m68k-parse.y; \
else true; fi
+# Disable -Werror, if it has been enabled, since old versions of bison/
+# yacc will produce working code which contain compile time warnings.
m68k-parse.o: m68k-parse.c $(srcdir)/config/m68k-parse.h
+ $(COMPILE) -c $< -Wno-error
# Don't let the .y.h rule clobber m68k-parse.h.
m68k-parse.h: ; @true
@@ -652,7 +655,10 @@ $(srcdir)/config/m68k-parse.h: ; @true
itbl-lex.c: $(srcdir)/itbl-lex.l
itbl-lex.o: itbl-lex.c itbl-parse.h $(srcdir)/itbl-lex.h
+# Disable -Werror, if it has been enabled, since old versions of bison/
+# yacc will produce working code which contain compile time warnings.
itbl-parse.o: itbl-parse.c itbl-parse.h $(srcdir)/itbl-ops.h $(srcdir)/itbl-lex.h
+ $(COMPILE) -c $< -Wno-error
itbl-ops.o: $(srcdir)/itbl-ops.c $(srcdir)/itbl-ops.h itbl-parse.h