fix install-no-fixedincludes mishaps

Olivier Hainque hainque@adacore.com
Wed May 16 14:46:00 GMT 2012


On May 16, 2012, at 15:17 , Paolo Bonzini wrote:
> Please indent the comments with a tab and remove the empty lines.

 Sure.

> Ok with that change.

 Installed, thanks :)

 If I may, we actually hit another install-no-fixedincludes issue
 in more recent versions of gcc, after

  http://gcc.gnu.org/ml/gcc-patches/2011-08/msg00319.html
  (Move unwinder to toplevel libgcc)

        gcc:
        * Makefile.in (UNWIND_H): Remove.
        ...
        (stmp-int-hdrs): Remove $(UNWIND_H) dependency.
        Don't copy $(UNWIND_H).
        ...

 install-no-fixedincludes was not updated. unwind.h is
 thus not installed any more and this is causing troubles
 for at least canadian builds.

 We fixed it with the attached patch in our tree.

 How does that look to you ?

 Many thanks in advance,

 Olivier

 2012-05-16  Olivier Hainque  <hainque@adacore.com>

	libgcc/
	* Makefile.in (install-unwind_h): Rename into ...
	(install-unwind_h-forbuild): New target.
	(all): Use it instead of the former install-unwind_h.
	(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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: unwindh.diff
Type: application/octet-stream
Size: 2553 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120516/7001d349/attachment.obj>


More information about the Gcc-patches mailing list