https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125229
Bug ID: 125229
Summary: Make-lang.in: JIT_LDFLAGS is uninitalized on MinGW
Product: gcc
Version: 16.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: jit
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dragon-archer at outlook dot com
CC: antoyo at gcc dot gnu.org
Target Milestone: ---
Created attachment 64393
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64393&action=edit
Patch for libgccjit from MSYS2, see
https://github.com/msys2/MINGW-packages/pull/29280
JIT_LDFLAGS should contain LDFLAGS, which is passed down by upper Makefile.
On any other platforms except MinGW this is true, while on MinGW JIT_LDFLAGS is
uninitialized.
Possible patch is attached.