https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109522
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Xi Ruoyao <xry...@gcc.gnu.org>: https://gcc.gnu.org/g:be6c13d5cef6fd9ca97dea7a6f5fbf93c51235b5 commit r14-544-gbe6c13d5cef6fd9ca97dea7a6f5fbf93c51235b5 Author: Xi Ruoyao <xry...@xry111.site> Date: Sat Apr 15 19:55:50 2023 +0800 build: Use -nostdinc generating macro_list [PR109522] 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).