mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
libieee1284: fix building for non-x86 musl
This commit is contained in:
parent
80b560bc35
commit
dc9eb76039
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user