From: Alan Hayward Date: Tue, 20 Feb 2018 10:03:56 +0000 (+0000) Subject: Fix make 3.81 build errors X-Git-Tag: binutils-2_31~1260 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a543c5ca7c1285548726e6d92ca6044dc1963340;p=external%2Fbinutils.git Fix make 3.81 build errors gdbserver/ * Makefile.in: Switch order of make rules. --- 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 + Simon Marchi + + * Makefile.in: Switch order of make rules. + 2018-02-19 Alan Hayward * 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)