aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/boehem-gc-uclibc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-09 10:40:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-09 10:40:13 +0000
commitc300b6ea3630232e3f016c03e0a331462fc7556d (patch)
treeffd990ebb1d775052b0be1361d0b009318d3615c /main/gcc/boehem-gc-uclibc.patch
parent922a6ed44cd16207c8cae7cbfae9da69d8961ac2 (diff)
downloadaports-c300b6ea3630232e3f016c03e0a331462fc7556d.tar.bz2
aports-c300b6ea3630232e3f016c03e0a331462fc7556d.tar.xz
main/gcc: initial support for java
Diffstat (limited to 'main/gcc/boehem-gc-uclibc.patch')
-rw-r--r--main/gcc/boehem-gc-uclibc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gcc/boehem-gc-uclibc.patch b/main/gcc/boehem-gc-uclibc.patch
new file mode 100644
index 0000000000..0fa6884105
--- /dev/null
+++ b/main/gcc/boehem-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