aboutsummaryrefslogtreecommitdiff
path: root/patches/gcc/6.1.0/301-missing-execinfo_h.patch
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2016-09-09 11:01:03 -0700
committerGitHub <noreply@github.com>2016-09-09 11:01:03 -0700
commit3a36f30ad7f6c9ceac205f5eb189cb74922392a9 (patch)
tree771b84512bf3bad1d38aed0e0133e9ae54df251c /patches/gcc/6.1.0/301-missing-execinfo_h.patch
parent1e4040e01118b21225b46f69b698631be5912376 (diff)
parent4b4082785d2a68d225d9791b023e68f23d9d6f3c (diff)
downloadcrosstool-ng-3a36f30ad7f6c9ceac205f5eb189cb74922392a9.tar.gz
crosstool-ng-3a36f30ad7f6c9ceac205f5eb189cb74922392a9.tar.bz2
crosstool-ng-3a36f30ad7f6c9ceac205f5eb189cb74922392a9.zip
Merge pull request #389 from dajamminyogesh/master
gcc: Added 6.1.0 to version list
Diffstat (limited to 'patches/gcc/6.1.0/301-missing-execinfo_h.patch')
-rw-r--r--patches/gcc/6.1.0/301-missing-execinfo_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/gcc/6.1.0/301-missing-execinfo_h.patch b/patches/gcc/6.1.0/301-missing-execinfo_h.patch
new file mode 100644
index 00000000..2d0e7baa
--- /dev/null
+++ b/patches/gcc/6.1.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