rsync: fix build with musl
The rsync build tries to use IFUNC for SIMD optimizations on x86_64, which has to be disabled for musl.
This commit is contained in:
parent
2de90e2e84
commit
7c1096ab99
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ stdenv.mkDerivation rec {
|
||||||
# disable the included zlib explicitly as it otherwise still compiles and
|
# disable the included zlib explicitly as it otherwise still compiles and
|
||||||
# links them even.
|
# links them even.
|
||||||
"--with-included-zlib=no"
|
"--with-included-zlib=no"
|
||||||
|
] ++ lib.optionals (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) [
|
||||||
|
# fix `multiversioning needs 'ifunc' which is not supported on this target` error
|
||||||
|
"--disable-roll-simd"
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue