https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115368
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note this patch does not work as OPTION_MUSL is not defined for all targets. e.g. *-*-darwin and *-*-elf* targets do not define it.