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

2021-10-28 Thread Jeff Law via Gcc-patches
On 10/28/2021 1:04 AM, Richard Biener via Gcc-patches wrote: On Wed, Oct 27, 2021 at 10:10 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 conf

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

2021-10-28 Thread Richard Biener via Gcc-patches
On Wed, Oct 27, 2021 at 10:10 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/5] Makefile.in: Ensure build CPP/CPPFLAGS is used for build targets

2021-10-27 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