diff options
author | Elvis Dowson <elvis.dowson@gmail.com> | 2013-03-29 12:23:09 +0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-22 14:43:46 +0100 |
commit | 16ab55220c4b602a8406c7a4405c737caae5907b (patch) | |
tree | a3bd1a0d5a636143a9c1d56703ba9d424ce0067d /meta/recipes-devtools/gcc/gcc-4.8/0031-Disable-sdt.patch | |
parent | c850415a1bdbb9268114d90fd0fc4cb3479de9c5 (diff) | |
download | openembedded-core-contrib-16ab55220c4b602a8406c7a4405c737caae5907b.tar.gz |
gcc-4.8: Refactor gcc-4.8.0 patch files.
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8/0031-Disable-sdt.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8/0031-Disable-sdt.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/0031-Disable-sdt.patch b/meta/recipes-devtools/gcc/gcc-4.8/0031-Disable-sdt.patch new file mode 100644 index 0000000000..c714239bea --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.8/0031-Disable-sdt.patch @@ -0,0 +1,45 @@ +From eb70cb2785af7171897f363298bbfcd83de5ec57 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 29 Mar 2013 09:28:10 +0400 +Subject: [PATCH 31/35] Disable sdt. + +We don't list dtrace in DEPENDS so we shouldn't be depending on this header. +It may or may not exist from preivous builds though. To be determinstic, disable +sdt.h usage always. This avoids build failures if the header is removed after configure +but before libgcc is compiled for example. + +RP 2012/8/7 + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Upstream-Status: Inappropriate [hack] +--- + gcc/configure | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/gcc/configure b/gcc/configure +index d587993..8bc0c98 100755 +--- a/gcc/configure ++++ b/gcc/configure +@@ -26792,12 +26792,12 @@ fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5 + $as_echo_n "checking sys/sdt.h in the target C library... " >&6; } + have_sys_sdt_h=no +-if test -f $target_header_dir/sys/sdt.h; then +- have_sys_sdt_h=yes +- +-$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h +- +-fi ++#if test -f $target_header_dir/sys/sdt.h; then ++# have_sys_sdt_h=yes ++# ++#$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h ++# ++#fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5 + $as_echo "$have_sys_sdt_h" >&6; } + +-- +1.7.10.4 + |