On Mon, 24 Jan 2022, Martin Liška wrote:

> Hi.
> 
> I noticed we have duplicate .m4 code that detects information about linker
> in lib* folders:
> 
> libffi/acinclude.m4 - this one is merge from the upstream project
> 
> libatomic/acinclude.m4
> libgomp/acinclude.m4
> libitm/acinclude.m4
> libstdc++-v3/acinclude.m4
> 
> I prepared a proof-of-concept patch that factors out the code for libgomp and
> libatomic.
> Is it something we want to? If so, I can try finished that for next stage1.

I support the principle of refactoring this code, as I said in 
<https://gcc.gnu.org/legacy-ml/gcc-patches/2019-08/msg00883.html> (Rainer 
said in <https://gcc.gnu.org/legacy-ml/gcc-patches/2019-08/msg00885.html> 
that he was working on it).

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to