- remove TLS workaround and turn it into an actual error since it is required in order to even properly compile and not all systems properly detect this.

This commit is contained in:
Rachael Alexanderson 2018-04-13 09:10:33 -04:00
parent 80f57dfaf0
commit a23259f26a
1 changed files with 1 additions and 2 deletions

View File

@ -409,8 +409,7 @@ CHECK_CXX_SOURCE_COMPILES("thread_local int i; int main() { i = 0; }"
HAVE_THREAD_LOCAL)
if( NOT HAVE_THREAD_LOCAL )
message( WARNING "C++ compiler doesn't support thread_local storage duration specifier" )
add_definitions( -Dthread_local= )
message( SEND_ERROR "C++ compiler doesn't support thread_local storage duration specifier" )
endif()
# Check for functions that may or may not exist.