haiku support.

TLS unsupported thus disabled.
This commit is contained in:
David Carlier 2020-06-28 13:53:45 +00:00
parent 4ecce78d66
commit 7e48eb033c
2 changed files with 6 additions and 2 deletions

View file

@ -145,7 +145,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "Intel")
list(APPEND mi_cflags -Wall -fvisibility=hidden)
endif()
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU|Intel")
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU|Intel" AND NOT CMAKE_SYSTEM_NAME MATCHES "Haiku")
if(MI_LOCAL_DYNAMIC_TLS MATCHES "ON")
list(APPEND mi_cflags -ftls-model=local-dynamic)
else()