mirror of
https://github.com/gperftools/gperftools
synced 2025-01-03 05:02:04 +00:00
unbreak cmake check for TLS support
This commit is contained in:
parent
7c106ca241
commit
7271bb72be
@ -391,7 +391,7 @@ elseif(APPLE)
|
||||
elseif(MINGW)
|
||||
message(WARNING "mingw doesn't really support tls")
|
||||
else()
|
||||
check_c_source_compiles("static __thread int p = 0;" HAVE_TLS)
|
||||
check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)
|
||||
endif()
|
||||
|
||||
if(NEED_NANOSLEEP)
|
||||
|
Loading…
Reference in New Issue
Block a user