diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 16820de20..43ab20d46 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -136,6 +136,9 @@ else() # which is a problem for older versions (e.g. GCC 11). add_compile_options("-Wno-attributes") add_compile_options("-Wno-interference-size") + # Suppress irrelevant ABI warnings generated by GCC + add_compile_options("-Wno-psabi") + add_link_options("-Wno-psabi") endif() if (MINGW)