aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 265c086..84bc54b 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2177,7 +2177,9 @@ INIT_FILES = \
init.c: stamp-init; @true
stamp-init: $(INIT_FILES) config.status $(srcdir)/make-init-c
$(ECHO_INIT_C)
- $(SILENCE) $(srcdir)/make-init-c $(addprefix $(srcdir)/,$(INIT_FILES)) > init.c-tmp
+ $(SILENCE) $(srcdir)/make-init-c \
+ $(filter-out config.status $(srcdir)/make-init-c,$^) \
+ > init.c-tmp
$(SILENCE) $(SHELL) $(srcdir)/../move-if-change init.c-tmp init.c
$(SILENCE) echo stamp > stamp-init