Skip to content

Commit 8f971cf

Browse files
authored
Merge pull request ceph#64259 from tchaikov/wip-cmake-osdc-without-error_code
cmake: remove error_code.cc from osdc to fix ODR violation Reviewed-by: Matan Breizman <[email protected]>
2 parents d35e1b5 + 291b40e commit 8f971cf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/osdc/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
set(osdc_files
22
Filer.cc
3-
ObjectCacher.cc
4-
error_code.cc)
5-
# Objecter.cc and Striper.cc are part of libcommon
3+
ObjectCacher.cc)
4+
# error_code.cc, Objecter.cc and Striper.cc are part of libcommon
65
add_library(osdc STATIC ${osdc_files})
76
target_link_libraries(osdc ceph-common)
87
if(WITH_EVENTTRACE)

0 commit comments

Comments
 (0)