summaryrefslogtreecommitdiff
path: root/recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch')
-rw-r--r--recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch b/recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch
new file mode 100644
index 0000000000..6f17b850f6
--- /dev/null
+++ b/recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch
@@ -0,0 +1,14 @@
+Index: include/llvm/Config/config.h.cmake
+===================================================================
+--- include/llvm/Config/config.h.cmake (Revision 71077)
++++ include/llvm/Config/config.h.cmake (Arbeitskopie)
+@@ -276,6 +276,9 @@
+ /* Define to have the %a format string */
+ #undef HAVE_PRINTF_A
+
++/* Have pthread.h */
++#cmakedefine HAVE_PTHREAD_H ${HAVE_PTHREAD_H}
++
+ /* Have pthread_mutex_lock */
+ #cmakedefine HAVE_PTHREAD_MUTEX_LOCK ${HAVE_PTHREAD_MUTEX_LOCK}
+