zstd: Fix build on riscv hosts
This commit is contained in:
parent
d335ada6fe
commit
c0fc8f51a2
@ -41,6 +41,8 @@ stdenv.mkDerivation rec {
|
||||
tests/playTests.sh
|
||||
'';
|
||||
|
||||
LDFLAGS = lib.optionalString stdenv.hostPlatform.isRiscV "-latomic";
|
||||
|
||||
cmakeFlags = lib.attrsets.mapAttrsToList
|
||||
(name: value: "-DZSTD_${name}:BOOL=${if value then "ON" else "OFF"}") {
|
||||
BUILD_SHARED = !static;
|
||||
|
Loading…
Reference in New Issue
Block a user