File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,19 @@ INCLUDE_DIRECTORIES(
25
25
ADD_DEFINITIONS (-DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -DOS_LINUX
26
26
-DZLIB )
27
27
28
+ # MARIAROCKS_NOT_YET: Add -frtti flag when compiling RocksDB files.
29
+ # TODO: is this the right way to do this?
30
+ # - SQL layer and storage/rocksdb/*.cc are compiled with -fnortti
31
+ # - RocksDB files are compiled with "-fnortti ... -frtti"
32
+ # - This causes RocksDB headers to be compiled with different settings:
33
+ # = with RTTI when compiling RocksDB
34
+ # = without RTTI when compiling storage/rocksdb/*.cc
35
+ #
36
+ # (facebook/mysql-5.6 just compiles everything without -f*rtti, which means
37
+ # everything is compiled with -frtti)
38
+ #
39
+ set_source_files_properties (${ROCKSDB_LIB_SOURCES} PROPERTIES COMPILE_FLAGS -frtti )
40
+
28
41
SET (ROCKSDB_SOURCES
29
42
ha_rocksdb.cc ha_rocksdb.h ha_rocksdb_proto.h
30
43
logger.h
You can’t perform that action at this time.
0 commit comments