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