diff mbox

[libgcc] The files auto-target.h and stamp-h should only be removed by "make distclean".

Message ID CADj25HPXjf=sai-hPgDBOx9S+y3o4NjRZ3Jkx=wpMPHFyXn3Rg@mail.gmail.com
State New
Headers show

Commit Message

Chung-Ju Wu June 25, 2013, 8:24 a.m. UTC
Hi, all,

In the discussion thread:
http://gcc.gnu.org/ml/gcc/2013-06/msg00176.html

There is a bug that auto-target.h and stamp-h are removed by "make clean".
The files should only be removed by "make distclean".

A patch was then provided and got approval by Ian.
Below are ChangeLog and the patch:




Committed into trunk as Rev. 200390.
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=200390


Best regards,
jasonwucj
diff mbox

Patch

Index: libgcc/ChangeLog
===================================================================
--- libgcc/ChangeLog    (revision 200389)
+++ libgcc/ChangeLog    (working copy)
@@ -1,3 +1,8 @@ 
+2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
+       correctly.
+
 2013-06-21  Joseph Myers  <joseph@codesourcery.com>

        PR other/53317


Index: libgcc/Makefile.in
===================================================================
--- libgcc/Makefile.in  (revision 200389)
+++ libgcc/Makefile.in  (working copy)
@@ -121,8 +121,8 @@ 
 .PHONY: all clean

 clean:
-       -rm -f auto-target.h libgcc_tm.h libgcc.map
-       -rm -f libgcc_tm.stamp stamp-h stmp-ldirs
+       -rm -f libgcc_tm.h libgcc.map
+       -rm -f libgcc_tm.stamp stmp-ldirs
        -rm -f *$(objext)
        -rm -f *.dep
        -rm -f *.a
@@ -131,6 +131,8 @@ 
        @$(MULTICLEAN) multi-clean DO=clean
 distclean: clean
        @$(MULTICLEAN) multi-clean DO=distclean
+       -rm -f auto-target.h
+       -rm -f stamp-h
        -rm -f *~ Makefile config.cache config.status multilib.out
        -rm -f config.log
 maintainer-clean realclean: distclean