Accepting request 1224903 from home:fmccarthy:branches:devel:libraries:c_c++

Address feedback from previous submission.
Fix spec file reference in _service file.

OBS-URL: https://build.opensuse.org/request/show/1224903
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/pulsar-client-cpp?expand=0&rev=1
This commit is contained in:
2024-11-19 11:48:01 +00:00
committed by Git OBS Bridge
commit 6b366fd02d
9 changed files with 266 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
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