Sign in
llvm
/
llvm-test-suite
/
8578ec30677f1a13b0e74362d81c09e0ac13cd33
/
.
/
SingleSource
/
UnitTests
/
Threads
/
CMakeLists.txt
blob: 62420645062e25cb1666a15d780fc85a0e6f4172 [
file
] [
log
] [
blame
]
# XCore and older Darwin version do not support thread local storage
if(NOT ARCH STREQUAL "XCore" AND NOT ARCH STREQUAL "Darwin")
list(APPEND LDFLAGS -pthread)
list(APPEND CFLAGS -pthread)
llvm_singlesource()
endif()