diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-02-20 10:03:56 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-02-20 10:04:30 +0000 |
commit | a543c5ca7c1285548726e6d92ca6044dc1963340 (patch) | |
tree | 400dc7d237fd4b7f67169ba6b5fd47d54e770819 /gdb/gdbserver | |
parent | afec267febc1bad9e8b24ac92c434cca06ccd325 (diff) | |
download | gdb-a543c5ca7c1285548726e6d92ca6044dc1963340.zip gdb-a543c5ca7c1285548726e6d92ca6044dc1963340.tar.gz gdb-a543c5ca7c1285548726e6d92ca6044dc1963340.tar.bz2 |
Fix make 3.81 build errors
gdbserver/
* Makefile.in: Switch order of make rules.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/Makefile.in | 26 |
2 files changed, 18 insertions, 13 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index b7e017c..f105efa 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2018-02-20 Alan Hayward <alan.hayward@arm.com> + Simon Marchi <simon.marchi@ericsson.com> + + * Makefile.in: Switch order of make rules. + 2018-02-19 Alan Hayward <alan.hayward@arm.com> * Makefile.in: Add common directory in build. diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index fcb6e1e..2dbf9ae 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -537,11 +537,15 @@ ax.o: ax.c $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $< $(POSTCOMPILE) -arch/%.o: ../arch/%.c - $(COMPILE) $< +# Rules for objects that go in the in-process agent. + +arch/%-ipa.o: ../arch/%.c + $(IPAGENT_COMPILE) $< $(POSTCOMPILE) -# Rules for objects that go in the in-process agent. +common/%-ipa.o: ../common/%.c + $(IPAGENT_COMPILE) $< + $(POSTCOMPILE) %-ipa.o: %-generated.c $(IPAGENT_COMPILE) $< @@ -562,25 +566,21 @@ arch/%.o: ../arch/%.c $(IPAGENT_COMPILE) $< $(POSTCOMPILE) -common/%-ipa.o: ../common/%.c - $(IPAGENT_COMPILE) $< - $(POSTCOMPILE) +# Rules for objects that go in the gdbserver binary. -arch/%-ipa.o: ../arch/%.c - $(IPAGENT_COMPILE) $< +arch/%.o: ../arch/%.c + $(COMPILE) $< $(POSTCOMPILE) -# Rules for objects that go in the gdbserver binary. - -%.o: %-generated.c +common/%.o: ../common/%.c $(COMPILE) $< $(POSTCOMPILE) -%.o: %.c +%.o: %-generated.c $(COMPILE) $< $(POSTCOMPILE) -common/%.o: ../common/%.c +%.o: %.c $(COMPILE) $< $(POSTCOMPILE) |