On 4/15/23 06:01, Xi Ruoyao via Gcc-patches wrote:
This prevents a spurious message building a cross-compiler when target
libc is not installed yet:

     cc1: error: no include path in which to search for stdc-predef.h

As stdc-predef.h was added to define __STDC_* macros by libc, it's
unlikely the header will ever contain some bad definitions w/o "__"
prefix so it should be safe.

gcc/ChangeLog:

        PR other/109522
        * Makefile.in (s-macro_list): Pass -nostdinc to
        $(GCC_FOR_TARGET).
OK.  Thanks.

jeff

Reply via email to