diff options
Diffstat (limited to 'meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8/0031-Disable-sdt.patch')
-rw-r--r-- | meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8/0031-Disable-sdt.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8/0031-Disable-sdt.patch b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8/0031-Disable-sdt.patch new file mode 100644 index 0000000..c714239 --- /dev/null +++ b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8/0031-Disable-sdt.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From eb70cb2785af7171897f363298bbfcd83de5ec57 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 29 Mar 2013 09:28:10 +0400 | ||
4 | Subject: [PATCH 31/35] Disable sdt. | ||
5 | |||
6 | We don't list dtrace in DEPENDS so we shouldn't be depending on this header. | ||
7 | It may or may not exist from preivous builds though. To be determinstic, disable | ||
8 | sdt.h usage always. This avoids build failures if the header is removed after configure | ||
9 | but before libgcc is compiled for example. | ||
10 | |||
11 | RP 2012/8/7 | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | |||
15 | Upstream-Status: Inappropriate [hack] | ||
16 | --- | ||
17 | gcc/configure | 12 ++++++------ | ||
18 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
19 | |||
20 | diff --git a/gcc/configure b/gcc/configure | ||
21 | index d587993..8bc0c98 100755 | ||
22 | --- a/gcc/configure | ||
23 | +++ b/gcc/configure | ||
24 | @@ -26792,12 +26792,12 @@ fi | ||
25 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5 | ||
26 | $as_echo_n "checking sys/sdt.h in the target C library... " >&6; } | ||
27 | have_sys_sdt_h=no | ||
28 | -if test -f $target_header_dir/sys/sdt.h; then | ||
29 | - have_sys_sdt_h=yes | ||
30 | - | ||
31 | -$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h | ||
32 | - | ||
33 | -fi | ||
34 | +#if test -f $target_header_dir/sys/sdt.h; then | ||
35 | +# have_sys_sdt_h=yes | ||
36 | +# | ||
37 | +#$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h | ||
38 | +# | ||
39 | +#fi | ||
40 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5 | ||
41 | $as_echo "$have_sys_sdt_h" >&6; } | ||
42 | |||
43 | -- | ||
44 | 1.7.10.4 | ||
45 | |||