aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/boehm-gc-uclibc.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-23 11:47:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-23 11:57:24 +0000
commit0dceb86c0b230eb083bc86711a57e9abd1b459f3 (patch)
tree6bb1372ca2fe1912861cea0b54bcc37952c3ab96 /main/gcc/boehm-gc-uclibc.patch
parentd61fa697f573aeec58efbebee57c4654ffc4750a (diff)
downloadaports-0dceb86c0b230eb083bc86711a57e9abd1b459f3.tar.bz2
aports-0dceb86c0b230eb083bc86711a57e9abd1b459f3.tar.xz
main/gcc: implement crosscompiler creation and crossbuilding, musl fixes
Diffstat (limited to 'main/gcc/boehm-gc-uclibc.patch')
-rw-r--r--main/gcc/boehm-gc-uclibc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gcc/boehm-gc-uclibc.patch b/main/gcc/boehm-gc-uclibc.patch
new file mode 100644
index 0000000000..0fa6884105
--- /dev/null
+++ b/main/gcc/boehm-gc-uclibc.patch
@@ -0,0 +1,11 @@
+--- ./boehm-gc/include/gc.h.orig
++++ ./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