summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.9/0008-missing-execinfo_h.patch
blob: 282380934a3ec8452146002808be14e2deac114d (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 9f2158451981cf0a80cfabdc79ae31bb6976a801 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/35] 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 c51e017..a7ba8dc 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
-- 
1.7.10.4