Commit dc9eb760 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

libieee1284: fix building for non-x86 musl

parent 80b560bc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,11 @@ stdenv.mkDerivation rec {

  configureFlags = [
    "--without-python"
  ] ++ lib.optionals (stdenv.hostPlatform.isMusl && !stdenv.hostPlatform.isx86) [
    # musl always provides <sys/io.h>, even though the functionality
    # is x86-specific.
    # https://www.openwall.com/lists/musl/2024/10/25/2
    "ac_cv_header_sys_io_h=no"
  ];

  prePatch = ''