aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/boehm-gc-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gcc/boehm-gc-musl.patch')
-rw-r--r--main/gcc/boehm-gc-musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gcc/boehm-gc-musl.patch b/main/gcc/boehm-gc-musl.patch
new file mode 100644
index 0000000000..83fcc285c6
--- /dev/null
+++ b/main/gcc/boehm-gc-musl.patch
@@ -0,0 +1,11 @@
+--- gcc-4.8.1/boehm-gc/os_dep.c.orig 2013-09-17 07:46:00.969884340 +0000
++++ gcc-4.8.1/boehm-gc/os_dep.c 2013-09-17 06:53:53.629884946 +0000
+@@ -26,7 +26,7 @@
+ # define __KERNEL__
+ # include <asm/signal.h>
+ # undef __KERNEL__
+-# else
++# elif defined(__GLIBC__)
+ /* Kernels prior to 2.1.1 defined struct sigcontext_struct instead of */
+ /* struct sigcontext. libc6 (glibc2) uses "struct sigcontext" in */
+ /* prototypes, so we have to include the top-level sigcontext.h to */