https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675
--- Comment #9 from Gerald Pfeifer <gerald at pfeifer dot com> --- (In reply to H.J. Lu from comment #8) > Does sanitizer_common/sanitizer_platform_limits_freebsd.cpp need any header > files from GCC? >From what I found, that does not appear to be the case. > If yes, why aren't they needed in compiler-rt? > If no, can you filter out these -I options in Makefile? How do I go about that? (I did see your earlier suggestions, just ran out of time and, frankly, the experience on how to practically do this.) If you have a prototype patch to try (and maybe tweak) I'll happily do.