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.

+1
+1
pkgs/os-specific/linux/libselinux/default.nix
··· 39 39 "SHLIBDIR=$(out)/lib" 40 40 41 41 "LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a" 42 + "ARCH=${stdenv.hostPlatform.linuxArch}" 42 43 ] ++ optionals enablePython [ 43 44 "PYTHON=${python3.pythonForBuild.interpreter}" 44 45 "PYTHONLIBDIR=$(py)/${python3.sitePackages}"