Re: [PATCH 1/4] Makefile.in: Ensure build CPP is used for build targets

2021-10-26 Thread Richard Biener via Gcc-patches
On Tue, Oct 26, 2021 at 2:57 PM Richard Purdie wrote: > > On Tue, 2021-10-26 at 14:55 +0200, Richard Biener wrote: > > On Tue, Oct 26, 2021 at 2:45 PM Richard Purdie via Gcc-patches > > wrote: > > > > > > During cross compiling, CPP is being set to the target compiler even for > > > build targets

Re: [PATCH 1/4] Makefile.in: Ensure build CPP is used for build targets

2021-10-26 Thread Richard Purdie via Gcc-patches
On Tue, 2021-10-26 at 14:55 +0200, Richard Biener wrote: > On Tue, Oct 26, 2021 at 2:45 PM Richard Purdie via Gcc-patches > wrote: > > > > During cross compiling, CPP is being set to the target compiler even for > > build targets. As an example, when building a cross compiler targetting > > mingw

Re: [PATCH 1/4] Makefile.in: Ensure build CPP is used for build targets

2021-10-26 Thread Richard Biener via Gcc-patches
On Tue, Oct 26, 2021 at 2:45 PM Richard Purdie via Gcc-patches wrote: > > During cross compiling, CPP is being set to the target compiler even for > build targets. As an example, when building a cross compiler targetting > mingw, the config.log for libiberty in > build.x86_64-pokysdk-mingw32.i586-

[PATCH 1/4] Makefile.in: Ensure build CPP is used for build targets

2021-10-26 Thread Richard Purdie via Gcc-patches
During cross compiling, CPP is being set to the target compiler even for build targets. As an example, when building a cross compiler targetting mingw, the config.log for libiberty in build.x86_64-pokysdk-mingw32.i586-poky-linux/build-x86_64-linux/libiberty/config.log shows: configure:3786: checki