summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-27 11:14:59 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-27 11:14:59 +0800
commitc73ba11e5fa23e346991aabb17ad72c1d40a0e56 (patch)
tree23290b1aa38ecccf3b028d224c36e6de90cb67a8 /indra/llcommon
parente7e2fa632a11da614e7afaaf766673ac41c12ba9 (diff)
Supress warnings so GCC can finish shared libs
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/CMakeLists.txt8
1 files 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 ()