projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca57fa
)
Fixed configure.in to fail the __thread check with clang
author
Jeffrey Stedfast
<jeff@xamarin.com>
Tue, 13 Aug 2013 19:33:38 +0000
(15:33 -0400)
committer
Jeffrey Stedfast
<jeff@xamarin.com>
Tue, 13 Aug 2013 19:34:12 +0000
(15:34 -0400)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index dd967ba7b350c1033da6e5b46b7fc154be3f26ad..6ff0a7551c63a0ad87c9b4800ef34852d8f5faa9 100755
(executable)
--- a/
configure.in
+++ b/
configure.in
@@
-1575,6
+1575,10
@@
if test x$target_win32 = xno; then
AC_MSG_RESULT(disabled)
else
AC_TRY_RUN([
+ #ifdef __clang__
+ #error "__thread does not currently work with clang"
+ #endif
+
#include <pthread.h>
__thread int i;
static int res1, res2;