aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMake
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2024-02-19 15:44:26 +0300
committerlevlam <levlam@telegram.org>2024-02-19 15:44:26 +0300
commit335b110f9ea747620b66456421b9e989c82889e3 (patch)
treeff964c789c655de8def859a1b4ad6d4daf8c4f83 /CMake
parentda979c4631095ff31ebcc85dc99f3a619a046976 (diff)
Add -Wno-psabi option to disable ABI compatibility warnings on ARM.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/TdSetUpCompiler.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/TdSetUpCompiler.cmake b/CMake/TdSetUpCompiler.cmake
index 76f3555e1..81cee4d21 100644
--- a/CMake/TdSetUpCompiler.cmake
+++ b/CMake/TdSetUpCompiler.cmake
@@ -124,6 +124,7 @@ function(td_set_up_compiler)
add_cxx_compiler_flag("-Wno-unknown-warning-option")
add_cxx_compiler_flag("-Wodr")
add_cxx_compiler_flag("-flto-odr-type-merging")
+ add_cxx_compiler_flag("-Wno-psabi")
# add_cxx_compiler_flag("-Werror")