diff --git a/nix/build-all.py b/nix/build-all.py index e04a7f2da3..b84c25eb14 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -994,6 +994,7 @@ if "rocksdb" in targets: f"-DWITH_BENCHMARK_TOOLS=OFF", f"-DWITH_CORE_TOOLS=OFF", f"-DROCKSDB_BUILD_SHARED=Off", + f"-DCMAKE_POSITION_INDEPENDENT_CODE=On", ], download_url="https://github.com/facebook/rocksdb", download_name="rocksdb",