diff options
author | Eric Christopher <echristo@apple.com> | 2011-09-19 20:43:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-09-19 20:43:23 +0000 |
commit | 627445f3e661629d6d5f82f2dbf17be140a93c7d (patch) | |
tree | 4c19adb37aa06cf00dd3ca684fbc98a35a38196a /configure | |
parent | bc80e94865d139a60534ac40cbf12f2d214dad56 (diff) |
Rename LLVM_MULTITHREADED define and fix build without threads.
Patch by Arrowdodger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21027,7 +21027,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "${ECHO_T}yes" >&6; } cat >>confdefs.h <<\_ACEOF -#define LLVM_MULTITHREADED 1 +#define LLVM_HAS_ATOMICS 1 _ACEOF else @@ -21038,7 +21038,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 echo "${ECHO_T}no" >&6; } cat >>confdefs.h <<\_ACEOF -#define LLVM_MULTITHREADED 0 +#define LLVM_HAS_ATOMICS 0 _ACEOF { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5 |