On Wed, 14 Jul 2021, Martin Storsjö wrote:

This avoids any risk of pulling in these when linking with UCRT.
UCRT does provide these same functions, and the libmingwex.a
implementation relies on symbols like _flsbuf which don't exist
in UCRT.

Signed-off-by: Martin Storsjö <[email protected]>
---
mingw-w64-crt/Makefile.am | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

FWIW, with the current makefile setup, this innocuous patch grows the generated Makefile.in by over 1700 lines. With the "RFC: crt: Use intermediate libraries" patch in place, it grows by 8 lines only - just to showcase the "why" of that patch.

// Martin

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to