gmp: Add libtool patches to support compiler-rt
Patch GMP's bundled libtool to recognize Clang's statically linked
compiler runtime libraries (libclang_rt.*.a). Clang uses absolute paths
to link these internal libraries rather than -l flags, which libtool
does not recognize by default.
Two patches are added:
- gmp-clang_rt.patch: Updates configure and aclocal.m4 to recognize
libclang_rt patterns in the library detection case statement
- gmp-clang_rt-ltmain.patch: Updates ltmain.sh to handle clang_rt
archives directly, avoiding the "Trying to link with static lib
archive" warning
Adapted from msys2/MINGW-packages#95b093e888158f387183b804ab27ff2ba6cf897d.
Explanation of libtool issue at https://github.com/mstorsjo/llvm-mingw/blob/1ce1cf7c3dcb62b39de6bc9c062e569978a1c660/README.md?plain=1#L128-L147
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>