diff options
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch b/meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch index 8946afc11a..8f5b061d4f 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch +++ b/meta/recipes-devtools/gcc/gcc-4.7/disablesdt.patch | |||
@@ -6,12 +6,15 @@ but before libgcc is compiled for example. | |||
6 | RP 2012/8/7 | 6 | RP 2012/8/7 |
7 | 7 | ||
8 | Upstream-Status: Inappropriate [hack] | 8 | Upstream-Status: Inappropriate [hack] |
9 | --- | ||
10 | gcc/configure | 12 ++++++------ | ||
11 | gcc/configure.ac | 18 +++++++++--------- | ||
12 | 2 files changed, 15 insertions(+), 15 deletions(-) | ||
9 | 13 | ||
10 | Index: git/gcc/configure | 14 | diff --git a/gcc/configure b/gcc/configure |
11 | =================================================================== | 15 | --- a/gcc/configure |
12 | --- git.orig/gcc/configure 2012-08-07 21:18:42.319247701 +0000 | 16 | +++ b/gcc/configure |
13 | +++ git/gcc/configure 2012-08-07 21:19:08.939247082 +0000 | 17 | @@ -26817,12 +26817,12 @@ fi |
14 | @@ -26758,12 +26758,12 @@ | ||
15 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5 | 18 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5 |
16 | $as_echo_n "checking sys/sdt.h in the target C library... " >&6; } | 19 | $as_echo_n "checking sys/sdt.h in the target C library... " >&6; } |
17 | have_sys_sdt_h=no | 20 | have_sys_sdt_h=no |
@@ -30,3 +33,34 @@ Index: git/gcc/configure | |||
30 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5 | 33 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5 |
31 | $as_echo "$have_sys_sdt_h" >&6; } | 34 | $as_echo "$have_sys_sdt_h" >&6; } |
32 | 35 | ||
36 | diff --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 | -- | ||
65 | 1.8.3.1 | ||
66 | |||