https://gcc.gnu.org/g:bfc00c04a00c83e6428a1bd25df70a9fe628fcb6
commit r17-4758-gbfc00c04a00c83e6428a1bd25df70a9fe628fcb6 Author: Xavier Del Campo Romero <[email protected]> Date: Tue Sep 29 16:07:39 2026 +0200 cobol: Disable lib{compat,posix} if requested There are various options that already disabled libgcobol and other standard libraries. However, libcompat and libposix had been missing from the list for some reason. gcc/cobol/ChangeLog: * gcobolspec.cc (lang_specific_driver): Disable lib{compat,posix} if requested. Diff: --- gcc/cobol/gcobolspec.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/cobol/gcobolspec.cc b/gcc/cobol/gcobolspec.cc index 63a0b7d626ba..10ba87e1af85 100644 --- a/gcc/cobol/gcobolspec.cc +++ b/gcc/cobol/gcobolspec.cc @@ -268,6 +268,8 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options, need_libgcobol = false; need_libdl = false; need_libstdc = false; + need_libcompat = false; + need_libposix = false; break; case OPT_static_libgcobol:
