rocksdb: fix build with gcc9
This commit is contained in:
parent
1b6e97e82b
commit
65debce600
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace CMakeLists.txt --replace "find_package(zlib " "find_package(ZLIB "
|
substituteInPlace CMakeLists.txt --replace "find_package(zlib " "find_package(ZLIB "
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-copy -Wno-error=pessimizing-move";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DPORTABLE=1"
|
"-DPORTABLE=1"
|
||||||
"-DWITH_JEMALLOC=0"
|
"-DWITH_JEMALLOC=0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user