summaryrefslogtreecommitdiff
path: root/packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch')
-rw-r--r--packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch b/packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch
new file mode 100644
index 0000000..c90222a
--- /dev/null
+++ b/packages/gcc-linaro/6.4-2018.05/0002-missing-execinfo_h.patch
@@ -0,0 +1,15 @@
+---
+ boehm-gc/include/gc.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/boehm-gc/include/gc.h
++++ b/boehm-gc/include/gc.h
+@@ -503,7 +503,7 @@
+ #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