aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-09-10 18:13:21 +0000
committerPedro Alves <palves@redhat.com>2008-09-10 18:13:21 +0000
commite5fa801315521fa47ac51dbba412996c86caa8db (patch)
treede32ac084b624c69f0e11ea673a0886dee49833a /gdb/Makefile.in
parenta9caad024e20635ecebb7be5330747fe23a7292b (diff)
downloadgdb-e5fa801315521fa47ac51dbba412996c86caa8db.zip
gdb-e5fa801315521fa47ac51dbba412996c86caa8db.tar.gz
gdb-e5fa801315521fa47ac51dbba412996c86caa8db.tar.bz2
* Makefile.in (gnu-nat.o): New rule.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index a4bf241..be07d23 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1343,6 +1343,13 @@ ALLDEPFILES = \
# Some files need explicit build rules (due to -Werror problems) or due
# to sub-directory fun 'n' games.
+# "gnu-nat.c" gets "suggest parentheses around assignment used as
+# truth value" errors. It turns out that there is a system header
+# that does `if (a = b)'.
+gnu-nat.o: $(srcdir)/gnu-nat.c
+ $(COMPILE.pre) $(INTERNAL_WARN_CFLAGS) $(COMPILE.post) $(srcdir)/gnu-nat.c
+ $(POSTCOMPILE)
+
hpux-thread.o: $(srcdir)/hpux-thread.c
$(COMPILE) -I$(srcdir)/osf-share -I$(srcdir)/osf-share/HP800 \
-I/usr/include/dce $(srcdir)/hpux-thread.c