]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build/cmake: enable RTTI for both debug and release RocksDB builds. 22286/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 28 May 2018 20:00:42 +0000 (23:00 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 28 May 2018 20:00:42 +0000 (23:00 +0300)
Overwise ceph build in Release mode is failing.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
cmake/modules/BuildRocksDB.cmake

index 71a1e2a1a2c6e6ce16d6a7ffc20f6ad9e4ef4d07..1c1a257b2e3028aad98853540aca57d117c2f28d 100644 (file)
@@ -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.