nixpkgs
d381e51f - binutils: try to move headers around only when --host/--target differ (#215989)

Commit
2 years ago
binutils: try to move headers around only when --host/--target differ (#215989) Without the change `pkgsMusl.pkgsStatic.buildPackages.binutils.bintools` build fails as: $ ln: failed to create symbolic link './include': File exists This happens because both host and target are `x86_64-unknown-linux-musl`. But `hostPlatform` differs from `targetPlatform` by `isStatic` value. By `./configure`'s standard it's not yet a cross-compilation. The change tries to move things around only when tuples change.
Author
Parents
Loading