]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Override detection of flockfile support in newlib [PR123406]
authorJonathan Wakely <jwakely@redhat.com>
Tue, 6 Jan 2026 14:00:09 +0000 (14:00 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 7 Jan 2026 15:20:51 +0000 (15:20 +0000)
commit412eb96b1ca384f4bebe996dba341decbc42362c
tree373395b5908c6bbf38d08b29abce37b22baff04d
parent5b20eefe0c39c352f40bc6ff6fd995bfa0e49636
libstdc++: Override detection of flockfile support in newlib [PR123406]

As explained in the PR, flockfile and funlockfile are always declared by
newlib and there's no easy way to detect whether they're actually
defined. Ensure that ac_stdio_locking=no gets set for non-cygwin newlib
targets.

libstdc++-v3/ChangeLog:

PR libstdc++/123406
* acinclude.m4 (GLIBCXX_CHECK_STDIO_LOCKING): Override detection
of flockfile for non-cygwin newlib targets.
* configure: Regenerate.

Reviewed-by: Tomasz KamiƄski <tkaminsk@redhat.com>
libstdc++-v3/acinclude.m4
libstdc++-v3/configure