rocksdb: Improve condition
This commit is contained in:
parent
903bdf1709
commit
c8cf55215a
@ -31,8 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
"-DWITH_ZSTD=1"
|
"-DWITH_ZSTD=1"
|
||||||
"-DWITH_GFLAGS=0"
|
"-DWITH_GFLAGS=0"
|
||||||
(lib.optional
|
(lib.optional
|
||||||
(stdenv.hostPlatform.system == "i686-linux"
|
(stdenv.hostPlatform.isx86 && stdenv.hostPlatform.isLinux)
|
||||||
|| stdenv.hostPlatform.system == "x86_64-linux")
|
|
||||||
"-DFORCE_SSE42=1")
|
"-DFORCE_SSE42=1")
|
||||||
(lib.optional enableLite "-DROCKSDB_LITE=1")
|
(lib.optional enableLite "-DROCKSDB_LITE=1")
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user