[PATCH] Make thread-db.o ignore -Werror
Elena Zannoni
ezannoni@redhat.com
Fri Dec 6 17:33:00 GMT 2002
I still cannot compile ppc-linux, and neither alpha-linux or ia64.
Same problems as those described in:
http://sources.redhat.com/ml/gdb/2001-11/msg00203.html
OK?
Elena
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (thread-db.o): Add explicit rule to ignore the use of
-Werror on this file.
Index: Makefile.in
===================================================================
RCS file: /cvs/uberbaum/gdb/Makefile.in,v
retrieving revision 1.292
diff -u -p -r1.292 Makefile.in
--- Makefile.in 6 Dec 2002 18:38:44 -0000 1.292
+++ Makefile.in 6 Dec 2002 23:51:32 -0000
@@ -1440,6 +1440,12 @@ hpux-thread.o: $(srcdir)/hpux-thread.c
procfs.o: $(srcdir)/procfs.c
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/procfs.c
+# FIXME: Thread-db.o gets warnings because the definitions of the register
+# sets are different from kernel to kernel.
+thread-db.o: $(srcdir)/thread-db.c
+ $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \
+ $(srcdir)/thread-db.c
+
v850ice.o: $(srcdir)/v850ice.c
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
More information about the Gdb-patches
mailing list