https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125229
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Yong <[email protected]>: https://gcc.gnu.org/g:2577be489a992edfc4e5987cc2c85111f401762c commit r17-5017-g2577be489a992edfc4e5987cc2c85111f401762c Author: Zhongteng Gui <[email protected]> Date: Fri Oct 9 01:58:46 2026 +0800 jit: set JIT_LDFLAGS for MinGW [PR125229] On any other platforms except MinGW, JIT_LDFLAGS is set to LDFLAGS, so that user defined LDFLAGS can be used when building JIT. But for MinGW, JIT_LDFLAGS is not set, which causes build failure when user defined LDFLAGS is required. gcc/jit/ChangeLog: PR jit/125229 * Make-lang.in: Seperate conditions for JIT_LDFLAGS and LIBGCCJIT_EXTRA_OPTS, fixed special condition where host is Darwin and target is MinGW, existing special handling for JIT_LDFLAGS on Darwin hosts will also be effective. Signed-off-by: Zhongteng Gui <[email protected]> Signed-off-by: Jonathan Yong <[email protected]>
