diff options
Diffstat (limited to 'cmake/config-ix.cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 731071e..5833119 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -76,6 +76,9 @@ if( LLVM_USING_GLIBC ) add_llvm_definitions( -D_GNU_SOURCE ) endif() +# Define LLVM_MULTITHREADED if gcc atomic builtins exists. +include(CheckAtomic) + include(CheckCXXCompilerFlag) check_cxx_compiler_flag("-fPIC" SUPPORTS_FPIC_FLAG) |