zeromq: Properly define fall‐back cache line size
This commit is contained in:
parent
6d8e13abfe
commit
6b77d339a1
1 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,13 @@ in {
|
||||||
++ [ "-DGL_CLAMP=GL_CLAMP_TO_EDGE" ] |> toString;
|
++ [ "-DGL_CLAMP=GL_CLAMP_TO_EDGE" ] |> toString;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
zeromq = prev.zeromq.overrideAttrs (prevAttrs: {
|
||||||
|
postPatch = prevAttrs.postPatch or "" + ''
|
||||||
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace-fail 'CACHELINE_SIZE EQUAL "undefined"' 'CACHELINE_SIZE STREQUAL "undefined"'
|
||||||
|
'';
|
||||||
|
});
|
||||||
} // optionalAttrs hostPlatform.isRiscV64 ({
|
} // optionalAttrs hostPlatform.isRiscV64 ({
|
||||||
boehmgc = prev.boehmgc.overrideAttrs (prevAttrs: {
|
boehmgc = prev.boehmgc.overrideAttrs (prevAttrs: {
|
||||||
postPatch = prevAttrs.postPatch or "" + ''
|
postPatch = prevAttrs.postPatch or "" + ''
|
||||||
|
|
Loading…
Reference in a new issue