On May 24, 2012, at 06:18 , Ian Lance Taylor wrote:
>>        (install-unwind_h): Reinstate, copy to user install destination
>>        for include files, not to the internal gcc object directory one.
>>        (install-leaf): Depend on it.
> 
> The effect is that every time libgcc is built, unwind.h
> changes.  And the effect of that is that every library file that depends on
> unwind.h gets rebuilt every time.  This affects libgo and libitm.

> Please fix this one way or another so that the copy of unwind.h installed
> in the gcc object directory does not have its timestamp change if the
> file contents are unchanged, as it used to be.

 Sure, sorry for the inconvenience. The intent was to

 * not touch what used to be done for "all", with

   -install-unwind_h:
   +install-unwind_h-forbuild:

   -all: install-unwind_h
   +all: install-unwind_h-forbuild

 * add something to have unwind.h copied as well for "install".

   I added that via an extra rule+dep to install-leaf, thinking that
   it was only used as helper for "install". I missed that install-leaf
   is also invoked for "all", via a command and not a dep.

 The attached patch should fix it. Testing in progress ...

 Olivier

 2012-05-24  Olivier Hainque  <hain...@adacore.com>

        libgcc/
        * Makefile.in: move dependency on install-unwind_h from
        "install-leaf" to "install".

Attachment: unwh.diff
Description: Binary data

Reply via email to