diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index ecc3db53ebb..8ab1f07b870 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2019-12-16 Bernd Edlinger + + * Makefile.in: Fix build with GNU Make 3.81 + 2019-12-16 Tom Tromey * server.c (get_exec_file): Constify result. diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 10e004039f9..9e8c2134726 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -580,10 +580,6 @@ ax.o: ax.c $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $< $(POSTCOMPILE) -alloc-ipa.o: ../alloc.c - $(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $< - $(POSTCOMPILE) - # Rules for objects that go in the in-process agent. arch/%-ipa.o: ../arch/%.c @@ -602,6 +598,10 @@ gdbsupport/%-ipa.o: ../gdbsupport/%.c $(IPAGENT_COMPILE) $< $(POSTCOMPILE) +%-ipa.o: ../%.c + $(IPAGENT_COMPILE) $< + $(POSTCOMPILE) + # Note: Between two matching pattern rules, GNU Make 3.81 chooses the first one. # Therefore, this one needs to be before "%.o: %.c" for it to be considered for # files such as linux-amd64-ipa.o generated from linux-amd64-ipa.c.