This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Binutils 2.17 makefile problem
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org, dj at redhat dot com
- Cc: bug-binutils at gnu dot org, "Cownie, James H" <james dot h dot cownie at intel dot com>
- Date: Wed, 27 Sep 2006 18:51:53 +0930
- Subject: Re: Binutils 2.17 makefile problem
- References: <CB283720B2E8E44DB76D52111F0F0533952341@swsmsx412.ger.corp.intel.com>
On Thu, Sep 21, 2006 at 11:50:25AM +0100, Cownie, James H wrote:
>
> "make distclean" leaves a config.cache file in the intl directory.
>
> As a result tarring up the sources after building on one system, doing
> make distclean, installing on another system and configuring fails to do
> the right thing.
>
> Should be easy to fix, I imagine.
Applying as obvious to gcc mainline. I assume this will make it over
to binutils mainline via DJ's script. If not, I'll apply it there too.
intl/ChangeLog
2006-09-27 Alan Modra <amodra@bigpond.net.au>
* Makefile.in (distclean): Delete config files.
Index: intl/Makefile.in
===================================================================
--- intl/Makefile.in (revision 117249)
+++ intl/Makefile.in (working copy)
@@ -186,6 +186,7 @@
clean: mostlyclean
distclean: clean
+ rm -f config.status config.cache config.log config.intl config.h
rm -f Makefile ID TAGS
maintainer-clean: distclean
@@ -202,7 +203,7 @@
config.intl: $(srcdir)/config.intl.in config.status
$(SHELL) ./config.status config.intl
-
+
config.status: $(srcdir)/configure
$(SHELL) ./config.status --recheck
@@ -231,7 +232,6 @@
$(srcdir)/config.h.in: @MAINT@ $(srcdir)/aclocal.m4 $(srcdir)/configure.ac
cd $(srcdir) && $(AUTOHEADER)
-rm -f stamp-h1
-
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
--
Alan Modra
IBM OzLabs - Linux Technology Centre