mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
feat(haiku): Don't use fstack-protector on Haiku
This commit is contained in:
parent
ef47c00c8d
commit
d413e7b13c
|
@ -104,7 +104,7 @@ if (COMPILER_SUPPORTS_WDATE_TIME)
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wdate-time")
|
||||
endif()
|
||||
|
||||
if (NOT WIN32)
|
||||
if (NOT WIN32 AND NOT HAIKU)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-all")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstack-protector")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue
Block a user