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:
18
fat_lto_objects_compiler_flag.patch
Normal file
18
fat_lto_objects_compiler_flag.patch
Normal 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
|
||||
Reference in New Issue
Block a user