nixpkgs/pkgs/development/libraries/x264
Alyssa Ross b8b30dff6e
x264: fix cross compilation to x86_64
The PR that added this condition said[1]:

> Note that nasm is only needed for x86 targets.

This suggests to me that hostPlatform was always intended, and
using buildPlatform for x86_64 was a typo.  This change fixes cross
compilation from aarch64-linux to x86_64-linux.  I've also tested that
it doesn't break x86_64-linux -> aarch64-linux.

[1]: https://github.com/NixOS/nixpkgs/pull/76914
2023-05-22 18:02:36 +00:00
..
default.nix x264: fix cross compilation to x86_64 2023-05-22 18:02:36 +00:00
disable-arm-neon-default.patch