summaryrefslogtreecommitdiff
path: root/recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2009-05-08 16:20:13 +0200
committerRobert Schuster <robertschuster@fsfe.org>2009-05-08 16:20:13 +0200
commit1bff258e44b63c1c532f922cf6d80a8f364e2889 (patch)
tree227bc4bb4fd1cdd61b3e05d1fac2e07b0d43e706 /recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch
parent60607cdba1c0d0fbe1591125093d17898fd03635 (diff)
llvm2.6-native 2.5+svnr20090504: New recipe.
llvm2.6 2.5+svnr20090504: New recipe.
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}
+