0001-linux_libc_has_function.diff 398 B

12345678910111213
  1. diff --git a/gcc/config/linux.c b/gcc/config/linux.c
  2. index 250296b..16c3768 100644
  3. --- a/gcc/config/linux.c
  4. +++ b/gcc/config/linux.c
  5. @@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see
  6. bool
  7. linux_libc_has_function (enum function_class fn_class)
  8. {
  9. - if (OPTION_GLIBC)
  10. + if (OPTION_GLIBC || OPTION_MUSL)
  11. return true;
  12. if (OPTION_BIONIC)
  13. if (fn_class == function_c94