1
0
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:
begasus 2020-12-13 16:44:38 +00:00 committed by Anthony Bilinski
parent ef47c00c8d
commit d413e7b13c
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -104,7 +104,7 @@ if (COMPILER_SUPPORTS_WDATE_TIME)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wdate-time") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wdate-time")
endif() 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} -fstack-protector-all")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstack-protector") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstack-protector")
endif() endif()