diff --git a/TARGETS b/TARGETS index fd06856a42d725d6ebe2437e5cc60362a2d3074f..356dc5cae41bcb7fd859cd1eeb4a808285e22faa 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 44ef4fd5e707eb62182403f1cbd2dc751cfc0bc6..006f653a2b0ca9b7c6623972efad92df4e04825b 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 = [