[PATCH] fix creation of tmp-gi.list
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Sat Mar 15 14:19:00 GMT 2008
I happened to interrupt make while executing the s-gtyp-input rule.
The next make invocation then died because tmp-gi.list contained
duplicate entries.
OK for trunk?
Thanks,
Ralf
gcc/ChangeLog:
2008-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in (s-gtyp-input): Remove tmp-gi.list before writing
it.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 8e4daf5..7b55174 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3144,6 +3144,7 @@ $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h : s-gtype ; @true
gtyp-input.list: s-gtyp-input ; @true
s-gtyp-input: Makefile
+ rm -f tmp-gi.list
$(foreach gtyp, $(GTFILES), $(echo_to_gi.list))
$(SHELL) $(srcdir)/../move-if-change tmp-gi.list gtyp-input.list
$(STAMP) s-gtyp-input
More information about the Gcc-patches
mailing list