Hello,

Ping for http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00274.html

Thanks in advance,

Olivier

On Apr 5, 2012, at 14:54 , Olivier Hainque wrote:
...
> install-no-fixedincludes remains a useful Makefile target
> and it misbehaves in two ways:
> 
>  1) past the second invocation, it rebuilds a lot of things
>     un-necessarily (because the first invocation touches stamps
>     it should preserve)
> 
>  2) it does install the contents of 'include-fixed' while part of
>     it's purpose is precisely not to
...
> The attached patch is a proposal to fix this, moving details to the gcc/
> Makefile where they belong (as suggested in the aforementioned thread),
> and adding explicit targets+comments to clarify what is going on.
...
>        * Makefile.tpl (gcc-no-fixedincludes): Rename into ...
>        (gcc-install-no-fixedincludes): Forwarder to local target in gcc/
>        * Makefile.in: Regenerate.
> 
>        gcc/
>        * Makefile.in (install-no-fixedincludes): New target.  Former toplevel
>        gcc-no-fixedincludes, interlacing stmp-int-hdrs and install with ...
>        (stash-maybefixed-headers, restore-header-stamps,
>         restore-maybefixed-headers): New subtargets. Add -p to cp syslimits.h.
>        Stash and restore include-fixed as well as include.
>        (stmp-int-hdrs): Use move-if-change + cp -p to setup fix_dir/limits.h.


Reply via email to