rocksdb: fix darwin build
This commit is contained in:
parent
9cc67f39f8
commit
d9d9d3196f
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace CMakeLists.txt --replace "find_package(zlib " "find_package(ZLIB "
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-copy -Wno-error=pessimizing-move";
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=deprecated-copy -Wno-error=pessimizing-move";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DPORTABLE=1"
|
||||
|
|
Loading…
Reference in a new issue