Re: [PATCH] libgcc/config/t-vxworks: remove -nostdinc from LIBGCC2_INCLUDES

2018-06-07 Thread Olivier Hainque
Hello Rasmus, > On 04 Jun 2018, at 11:02, Rasmus Villemoes wrote: >> Turns out we have encountered the canadian build problem as well and have >> an alternate resolution for it, which I was about to commit. >> >> Does the attached patch work for you ? > > It does seem to work for me, both for

Re: [PATCH] libgcc/config/t-vxworks: remove -nostdinc from LIBGCC2_INCLUDES

2018-06-03 Thread Olivier Hainque
Hello Rasmus, > On 01 Jun 2018, at 14:23, Rasmus Villemoes wrote: > > -nostdinc apparently does not affect the directories added by the -B > options when the xgcc wrapper is used when building an ordinary > cross-compiler, but having -nostdinc in LIBGCC2_INCLUDES breaks a > canadian cross build