From c73ba11e5fa23e346991aabb17ad72c1d40a0e56 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sun, 27 Aug 2023 11:14:59 +0800 Subject: Supress warnings so GCC can finish shared libs --- indra/llcommon/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/indra/llcommon/CMakeLists.txt b/indra/llcommon/CMakeLists.txt index ed7ac8deb7..b1dc65ffc5 100644 --- a/indra/llcommon/CMakeLists.txt +++ b/indra/llcommon/CMakeLists.txt @@ -289,8 +289,12 @@ add_dependencies(llcommon stage_third_party_libs) else () target_compile_options(${PROJECT_NAME} PUBLIC -Wno-deprecated-declarations) if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") - set_source_files_properties(llsdutil.cpp PROPERTIES - COMPILE_FLAGS -Wno-stringop-truncation) + set_source_files_properties( + llapp.cpp + llsdutil.cpp + PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation) + set_source_files_properties(llevent.cpp PROPERTIES + COMPILE_FLAGS -Wno-nonnull) endif() endif () -- cgit v1.2.3