diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e5a866500..b025de11ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,7 @@ if(NOT MSVC) endif(NOT MSVC) # gcc uses some optimizations which might break stuff without this flag -add_definitions(-fno-strict-aliasing -fno-exceptions) +add_definitions(-fno-strict-aliasing -fno-exceptions -Wno-psabi) include(CheckCXXCompilerFlag)