diff --git a/TARGETS b/TARGETS index fd06856a4..356dc5cae 100644 --- a/TARGETS +++ b/TARGETS @@ -25,6 +25,10 @@ rocksdb_compiler_flags = [ "-DTBB", # Needed to compile in fbcode "-Wno-expansion-to-defined", + # Added missing flags from output of build_detect_platform + "-DROCKSDB_PTHREAD_ADAPTIVE_MUTEX", + "-DROCKSDB_BACKTRACE", + "-Wshorten-64-to-32", ] rocksdb_external_deps = [ diff --git a/buckifier/targets_cfg.py b/buckifier/targets_cfg.py index 44ef4fd5e..006f653a2 100644 --- a/buckifier/targets_cfg.py +++ b/buckifier/targets_cfg.py @@ -29,6 +29,10 @@ rocksdb_compiler_flags = [ "-DTBB", # Needed to compile in fbcode "-Wno-expansion-to-defined", + # Added missing flags from output of build_detect_platform + "-DROCKSDB_PTHREAD_ADAPTIVE_MUTEX", + "-DROCKSDB_BACKTRACE", + "-Wshorten-64-to-32", ] rocksdb_external_deps = [