Re: Fix bad interaction between sysroot and C++ include dir

2018-10-12 Thread Eric Botcazou
> Thanks for that. I had found and (at least partly) analyzed the same, > but had not yet prepared a patch. I'm confirming that this works as > expected when configuring with "--with-sysroot=" (that is, empty). You're welcome. > Can we get this onto release branches, too? That's an oldish regr

Re: Fix bad interaction between sysroot and C++ include dir

2018-10-12 Thread Thomas Schwinge
Hi! Belatedly... On Thu, 10 May 2018 11:36:01 +0200, Eric Botcazou wrote: > This fixes an annyoing regression introduced in 2012 by [...] > The result is that, if you configure --with-sysroot with a value that happens > to be identical to the start of the default C++ path in the install tree,

Fix bad interaction between sysroot and C++ include dir

2018-05-10 Thread Eric Botcazou
This fixes an annyoing regression introduced in 2012 by this change: https://codereview.appspot.com/5394041 The idea of the change is to interpolate the value passed to --with-sysroot in the value passed to --with-gxx-include-dir, so that you can change the sysroot at run time, i.e. pass --sys