Browse Source

workaround for cygwin problem: http://cygwin.com/ml/cygwin/2013-05/msg00222.html

Waldemar Brodkorb 11 years ago
parent
commit
3dfefae627
1 changed files with 9 additions and 0 deletions
  1. 9 0
      toolchain/eglibc/patches/cygwin.patch

+ 9 - 0
toolchain/eglibc/patches/cygwin.patch

@@ -0,0 +1,9 @@
+diff -Nur eglibc-2.17.orig/libc/ports/sysdeps/arm/nptl/pthread_spin_lock.c eglibc-2.17/libc/ports/sysdeps/arm/nptl/pthread_spin_lock.c
+--- eglibc-2.17.orig/libc/ports/sysdeps/arm/nptl/pthread_spin_lock.c	2013-05-08 14:27:27.000000000 +0200
++++ eglibc-2.17/libc/ports/sysdeps/arm/nptl/pthread_spin_lock.c	2013-07-10 12:48:57.000000000 +0200
+@@ -20,4 +20,4 @@
+ /* We can't use the normal "#include <nptl/pthread_spin_lock.c>" because
+    it will resolve to this very file.  Using "sysdeps/.." as reference to the
+    top level directory does the job.  */
+-#include <sysdeps/../nptl/pthread_spin_lock.c>
++#include <../sysdeps/../nptl/pthread_spin_lock.c>