diff options
author | Jonathan White <support@dmapps.us> | 2019-03-24 16:26:34 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-03-24 16:32:45 +0300 |
commit | 86e5dbda4fe267ef237ba68c791c56dd1e95475a (patch) | |
tree | 6e61b7f1e3c897514cea40420ddf50e44c90e7e4 /CMakeLists.txt | |
parent | 13a9ac8f576539aace93a2d5faa2c4d35474f95e (diff) |
Add Haiku support
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 658548f70..969b3727c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,11 +192,13 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug") add_gcc_compiler_flags("-Werror") endif() +if (NOT HAIKU) if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.8.999) OR CMAKE_COMPILER_IS_CLANGXX) add_gcc_compiler_flags("-fstack-protector-strong") else() add_gcc_compiler_flags("-fstack-protector --param=ssp-buffer-size=4") endif() +endif() add_gcc_compiler_cxxflags("-fno-exceptions -fno-rtti") add_gcc_compiler_cxxflags("-Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual") |