Skip to content

Commit

Permalink
build/cmake: enable RTTI for both debug and release RocksDB builds.
Browse files Browse the repository at this point in the history
Overwise ceph build in Release mode is failing.

Signed-off-by: Igor Fedotov <[email protected]>
  • Loading branch information
ifed01 committed May 28, 2018
1 parent f4e95ca commit 83841bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/BuildRocksDB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function(do_build_rocksdb)
list(APPEND ROCKSDB_CMAKE_ARGS -DCMAKE_AR=${CMAKE_AR})
list(APPEND ROCKSDB_CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE})
list(APPEND ROCKSDB_CMAKE_ARGS -DFAIL_ON_WARNINGS=OFF)
list(APPEND ROCKSDB_CMAKE_ARGS -DUSE_RTTI=1)

# we use an external project and copy the sources to bin directory to ensure
# that object files are built outside of the source tree.
Expand Down

0 comments on commit 83841bf

Please sign in to comment.