From: Igor Fedotov Date: Mon, 28 May 2018 20:00:42 +0000 (+0300) Subject: build/cmake: enable RTTI for both debug and release RocksDB builds. X-Git-Tag: v14.0.1~1251^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=83841bf3de4f664df1c5b1b7997861acf2ede767;p=ceph-ci.git build/cmake: enable RTTI for both debug and release RocksDB builds. Overwise ceph build in Release mode is failing. Signed-off-by: Igor Fedotov --- diff --git a/cmake/modules/BuildRocksDB.cmake b/cmake/modules/BuildRocksDB.cmake index 71a1e2a1a2c..1c1a257b2e3 100644 --- a/cmake/modules/BuildRocksDB.cmake +++ b/cmake/modules/BuildRocksDB.cmake @@ -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.