nixpkgs-suyu/pkgs/os-specific/linux/libselinux
Ryan Burns e6ca3a37f1 libselinux: fix cross-compilation from x86_32
libselinux incorrectly initializes the host platform's arch using uname -m,
which actually returns the build platform's arch. This results in an invalid
compile flag (-mno-tls-direct-seg-refs) when compiling from x86_32.
So we need to set the host arch variable explicitly.
2021-10-30 16:55:54 -07:00
..
default.nix