summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch66
1 files changed, 0 insertions, 66 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch b/meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch
deleted file mode 100644
index 8f5b061d4f..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch
+++ /dev/null
@@ -1,66 +0,0 @@
1We don't list dtrace in DEPENDS so we shouldn't be depending on this header.
2It may or may not exist from preivous builds though. To be determinstic, disable
3sdt.h usage always. This avoids build failures if the header is removed after configure
4but before libgcc is compiled for example.
5
6RP 2012/8/7
7
8Upstream-Status: Inappropriate [hack]
9---
10 gcc/configure | 12 ++++++------
11 gcc/configure.ac | 18 +++++++++---------
12 2 files changed, 15 insertions(+), 15 deletions(-)
13
14diff --git a/gcc/configure b/gcc/configure
15--- a/gcc/configure
16+++ b/gcc/configure
17@@ -26817,12 +26817,12 @@ fi
18 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5
19 $as_echo_n "checking sys/sdt.h in the target C library... " >&6; }
20 have_sys_sdt_h=no
21-if test -f $target_header_dir/sys/sdt.h; then
22- have_sys_sdt_h=yes
23-
24-$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
25-
26-fi
27+#if test -f $target_header_dir/sys/sdt.h; then
28+# have_sys_sdt_h=yes
29+#
30+#$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
31+#
32+#fi
33 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5
34 $as_echo "$have_sys_sdt_h" >&6; }
35
36diff --git a/gcc/configure.ac b/gcc/configure.ac
37--- a/gcc/configure.ac
38+++ b/gcc/configure.ac
39@@ -4688,15 +4688,15 @@ if test x$gcc_cv_libc_provides_ssp = xyes; then
40 fi
41
42 # Test for <sys/sdt.h> on the target.
43-GCC_TARGET_TEMPLATE([HAVE_SYS_SDT_H])
44-AC_MSG_CHECKING(sys/sdt.h in the target C library)
45-have_sys_sdt_h=no
46-if test -f $target_header_dir/sys/sdt.h; then
47- have_sys_sdt_h=yes
48- AC_DEFINE(HAVE_SYS_SDT_H, 1,
49- [Define if your target C library provides sys/sdt.h])
50-fi
51-AC_MSG_RESULT($have_sys_sdt_h)
52+#GCC_TARGET_TEMPLATE([HAVE_SYS_SDT_H])
53+#AC_MSG_CHECKING(sys/sdt.h in the target C library)
54+#have_sys_sdt_h=no
55+#if test -f $target_header_dir/sys/sdt.h; then
56+# have_sys_sdt_h=yes
57+# AC_DEFINE(HAVE_SYS_SDT_H, 1,
58+# [Define if your target C library provides sys/sdt.h])
59+#fi
60+#AC_MSG_RESULT($have_sys_sdt_h)
61
62 # Check if TFmode long double should be used by default or not.
63 # Some glibc targets used DFmode long double, but with glibc 2.4
64--
651.8.3.1
66