020-disable-check-for-sys-sdt-h.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. diff --git a/gcc/configure b/gcc/configure
  2. index 3793681..bcda752 100755
  3. --- a/gcc/configure
  4. +++ b/gcc/configure
  5. @@ -26876,19 +26876,6 @@ $as_echo "#define TARGET_LIBC_PROVIDES_SSP 1" >>confdefs.h
  6. fi
  7. -# Test for <sys/sdt.h> on the target.
  8. -
  9. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5
  10. -$as_echo_n "checking sys/sdt.h in the target C library... " >&6; }
  11. -have_sys_sdt_h=no
  12. -if test -f $target_header_dir/sys/sdt.h; then
  13. - have_sys_sdt_h=yes
  14. -
  15. -$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
  16. -
  17. -fi
  18. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5
  19. -$as_echo "$have_sys_sdt_h" >&6; }
  20. # Check if TFmode long double should be used by default or not.
  21. # Some glibc targets used DFmode long double, but with glibc 2.4
  22. diff --git a/gcc/configure.ac b/gcc/configure.ac
  23. index 3ee1d67..e321218 100644
  24. --- a/gcc/configure.ac
  25. +++ b/gcc/configure.ac
  26. @@ -4796,16 +4796,6 @@ if test x$gcc_cv_libc_provides_ssp = xyes; then
  27. [Define if your target C library provides stack protector support])
  28. fi
  29. -# Test for <sys/sdt.h> on the target.
  30. -GCC_TARGET_TEMPLATE([HAVE_SYS_SDT_H])
  31. -AC_MSG_CHECKING(sys/sdt.h in the target C library)
  32. -have_sys_sdt_h=no
  33. -if test -f $target_header_dir/sys/sdt.h; then
  34. - have_sys_sdt_h=yes
  35. - AC_DEFINE(HAVE_SYS_SDT_H, 1,
  36. - [Define if your target C library provides sys/sdt.h])
  37. -fi
  38. -AC_MSG_RESULT($have_sys_sdt_h)
  39. # Check if TFmode long double should be used by default or not.
  40. # Some glibc targets used DFmode long double, but with glibc 2.4