summaryrefslogtreecommitdiff
path: root/package/mono/0001-Disable-backtrace-on-not-supported-uclibc.patch
blob: 7bc7384ad0b88db5684fdf9f0782bab04e66a16c (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
From 5232ec11c74eb49fb220a7e2df80e46ac621e941 Mon Sep 17 00:00:00 2001
From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Date: Sat, 7 Feb 2015 09:49:37 +0100
Subject: [PATCH] Disable backtrace on not supported uclibc

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 libgc/include/gc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgc/include/gc.h b/libgc/include/gc.h
index 2265fdb..6485fc0 100644
--- a/libgc/include/gc.h
+++ b/libgc/include/gc.h
@@ -500,7 +500,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.1.0