aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-04-15 19:55:50 +0800
committerXi Ruoyao <xry111@xry111.site>2023-05-07 00:58:05 +0800
commitbe6c13d5cef6fd9ca97dea7a6f5fbf93c51235b5 (patch)
tree3b7e8abf2de8f589c945f8ece86e746ea04d5155 /gcc/cp
parent2d76f2b45d6649174748d862a31bb95c53ee1117 (diff)
downloadgcc-be6c13d5cef6fd9ca97dea7a6f5fbf93c51235b5.zip
gcc-be6c13d5cef6fd9ca97dea7a6f5fbf93c51235b5.tar.gz
gcc-be6c13d5cef6fd9ca97dea7a6f5fbf93c51235b5.tar.bz2
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).
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions