rocksdb: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-05 00:59:23 +01:00
parent 1b6e97e82b
commit 65debce600
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
substituteInPlace CMakeLists.txt --replace "find_package(zlib " "find_package(ZLIB "
'';
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-copy -Wno-error=pessimizing-move";
cmakeFlags = [
"-DPORTABLE=1"
"-DWITH_JEMALLOC=0"