From 14e8ee7fe380e82b26c320915df839e02da89530 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Fri, 30 May 2025 14:38:27 +0100 Subject: [PATCH] cmake: Suppress -Wpsabi warnings when building with GCC --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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)