Commit 7c1096ab authored by Fabian Möller's avatar Fabian Möller Committed by Emery Hemingway
Browse files

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.
parent 2de90e2e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -43,6 +43,9 @@ stdenv.mkDerivation rec {
    # disable the included zlib explicitly as it otherwise still compiles and
    # links them even.
    "--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;