diff -pru pulsar-client-cpp-3.6.0.orig/CMakeLists.txt pulsar-client-cpp-3.6.0.new/CMakeLists.txt --- pulsar-client-cpp-3.6.0.orig/CMakeLists.txt 2024-08-29 10:11:24.000000000 -0400 +++ pulsar-client-cpp-3.6.0.new/CMakeLists.txt 2024-11-15 15:04:37.125136589 -0500 @@ -97,8 +97,11 @@ else() # GCC or Clang are mostly compati # Options unique to Clang or GCC: if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Qunused-arguments) - elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.1)) - add_compile_options(-Wno-stringop-truncation) + elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + add_compile_options(-ffat-lto-objects) + if (NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.1)) + add_compile_options(-Wno-stringop-truncation) + endif() endif() endif() Only in pulsar-client-cpp-3.6.0.new: .CMakeLists.txt.swp