https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126608

--- Comment #5 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:ab4d353cc60a6db8aec5f7a183fe5b85ee79b08f

commit r17-5902-gab4d353cc60a6db8aec5f7a183fe5b85ee79b08f
Author: Zhongteng Gui <[email protected]>
Date:   Thu Oct 22 02:35:24 2026 +0800

    mingw: Honor --with-local-dir and --with-native-system-header-dir
[PR126608]

    Previously, NATIVE_SYSTEM_HEADER_DIR is forced set to /mingw/include for
    mingw targets, even if --with-native-system-header-dir is passed to
    configure.  Honor configure option, while retaining the default
    /mingw/include (used by Cygwin-cross-MinGW compiler).

    Similarily, remove the MinGW host make fragment's forced
    local_includedir override so that --with-local-prefix is honored.

    gcc/ChangeLog:

            PR target/126608
            * config/i386/x-mingw32: Don't override local_includedir.
            * config/mingw/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Don't force
            override to /mingw/include.

    Signed-off-by: Zhongteng Gui <[email protected]>
    Signed-off-by: Jonathan Yong <[email protected]>

Reply via email to