summaryrefslogtreecommitdiff
path: root/recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-08 19:50:49 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-08 19:50:49 +0200
commita2e23df3d5603c8534539a91e46d2bfda934a7d0 (patch)
treeeb6e27141a8d07350843bd17aea65c4da1102118 /recipes/llvm/llvm2.6/llvm-fix-pthreads_h.patch
parent8fecb42426d33e78eee8c332455a3c5b2fcdd2fd (diff)
parenta8a6e5f87723526cbb4e46672e6222a7caa29395 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
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}
+