summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-5.3/0008-missing-execinfo_h.patch
blob: 9f8793125e6b27f6b0ec2fab74a4d57ce752fbdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 9b7442069eb68a42d2437181c1b2e710dd077e8b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 08:48:10 +0400
Subject: [PATCH 08/46] missing-execinfo_h

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Upstream-Status: Pending
---
 boehm-gc/include/gc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h
index 6b38f2d..fca98ff 100644
--- a/boehm-gc/include/gc.h
+++ b/boehm-gc/include/gc.h
@@ -503,7 +503,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_off_page GC_PROTO((size_t lb));
 #if defined(__linux__) || defined(__GLIBC__)
 # include <features.h>
 # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
-     && !defined(__ia64__)
+     && !defined(__ia64__) && !defined(__UCLIBC__)
 #   ifndef GC_HAVE_BUILTIN_BACKTRACE
 #     define GC_HAVE_BUILTIN_BACKTRACE
 #   endif
-- 
2.6.3