[PATCH 1/1] configure: Pass CPPFLAGS_FOR_BUILD to subdirs

Tsukasa OI research_trasio@irq.a4lg.com
Wed Sep 21 05:56:40 GMT 2022


On 2022/09/20 21:53, Nick Clifton wrote:
> Hi Tsukasa,
> 
>> ChangeLog:
>>
>>     * configure.ac: Pass CPPFLAGS_FOR_BUILD to subdirectories.
>>     * configure: Regenerate.
> Patch approved - please apply.
> 
> Note - you may wish to submit a copy of this patch to the gcc-patches
> mailing list as well, since gcc and binutils/gdb try to share the top
> level configure files.
> 
> Cheers
>   Nick
> 
> 

Hi Nick,

I found that GCC already has a superset of this patch.
Commit 84401ce5fb4e ("[PATCH 1/5] Makefile.in: Ensure build CPP/CPPFLAGS
is used for build targets") is the one.

I will commit my patchset as is (because this is sufficient to resolve
Binutils side issue) but also will seek an opportunity to sync with this
when I revisit configure scripts again (currently, I'm working on RISC-V
(various parts) and disassembler improvements on Arm and AArch64).

Thanks,
Tsukasa


More information about the Binutils mailing list