fix install-no-fixedincludes mishaps
Paolo Bonzini
bonzini@gnu.org
Fri May 18 16:00:00 GMT 2012
Il 18/05/2012 17:34, Olivier Hainque ha scritto:
> Hello Paolo,
>
> On May 16, 2012, at 15:17 , Paolo Bonzini wrote:
>>> + install-no-fixedincludes:
> ...
>>> + $(MAKE) $(FLAGS_TO_PASS) install
>
> This uncovered a latent problem that my light re-testing after
> the apparently innocent switch to a sequence of commands, per
> http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01097.html, failed
> to notice.
>
> FLAGS_TO_PASS has
>
> "libexecsubdir=$(libsubdir)" \
>
> No "exec" on the right hand side and the driver doesn't find
> the compilers there.
>
> If I read http://gcc.gnu.org/ml/gcc-patches/2003-07/msg03026.html
> correctly, this is expected to work:
>
> << ...
> I've tested that when you specify --libexecdir=${exec_prefix}/lib,
> that works fine, and the result is still relocatable. >>
>
> Setting the variable this way is nevertheless confusing IMO, so what about
>
> 2012-05-18 Olivier Hainque <hainque@adacore.com>
>
> * Makefile.in (FLAGS_TO_PASS): Pass $(libexecsubdir) instead of
> $(libsubdir) as libexecsubdir.
Yes, ok. FLAGS_TO_PASS is only used by Ada until now.
Paolo
More information about the Gcc-patches
mailing list