1 From 5232ec11c74eb49fb220a7e2df80e46ac621e941 Mon Sep 17 00:00:00 2001
2 From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
3 Date: Sat, 7 Feb 2015 09:49:37 +0100
4 Subject: [PATCH] Disable backtrace on not supported uclibc
6 Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 libgc/include/gc.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/libgc/include/gc.h b/libgc/include/gc.h
13 index 2265fdb..6485fc0 100644
14 --- a/libgc/include/gc.h
15 +++ b/libgc/include/gc.h
16 @@ -500,7 +500,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_off_page GC_PROTO((size_t lb));
17 #if defined(__linux__) || defined(__GLIBC__)
18 # include <features.h>
19 # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
20 - && !defined(__ia64__)
21 + && !defined(__ia64__) && !defined(__UCLIBC__)
22 # ifndef GC_HAVE_BUILTIN_BACKTRACE
23 # define GC_HAVE_BUILTIN_BACKTRACE