aboutsummaryrefslogtreecommitdiff
path: root/packages/gcc/6.3.0/301-missing-execinfo_h.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-13 00:38:03 -0700
committerGitHub <noreply@github.com>2017-07-13 00:38:03 -0700
commit45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch)
tree8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/gcc/6.3.0/301-missing-execinfo_h.patch
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
parentb32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff)
downloadcrosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.tar.gz
crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.tar.bz2
crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.zip
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/gcc/6.3.0/301-missing-execinfo_h.patch')
-rw-r--r--packages/gcc/6.3.0/301-missing-execinfo_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gcc/6.3.0/301-missing-execinfo_h.patch b/packages/gcc/6.3.0/301-missing-execinfo_h.patch
new file mode 100644
index 00000000..2d0e7baa
--- /dev/null
+++ b/packages/gcc/6.3.0/301-missing-execinfo_h.patch
@@ -0,0 +1,13 @@
+Index: b/boehm-gc/include/gc.h
+===================================================================
+--- 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