Fix build on Void Linux musl (#1337)
authorAdeel Mujahid <adeelbm@outlook.com>
Tue, 7 Jan 2020 00:47:34 +0000 (02:47 +0200)
committerJan Kotas <jkotas@microsoft.com>
Tue, 7 Jan 2020 00:47:34 +0000 (16:47 -0800)
commit7f12c9baea3c6842004dea093508f9fd08c9e327
tree4116ac7841c829e990d2341b353c1348c66b4849
parentdfed9e24f189718cb7b99c227881b22aa62559d9
Fix build on Void Linux musl (#1337)

* xstate_bv was renamed to xfeatures in torvalds/linux@400e4b2, also
  see https://lore.kernel.org/patchwork/patch/939801/. Added a cmake
  check to detect if old header is available on the build machine.
* Make musl-libc based distro RID detection more permissive by adapting
  condition used by public-facing dotnet-install script:
  https://github.com/dotnet/toolset/blob/a229608/scripts/obtain/dotnet-install.sh#L163
src/coreclr/init-distro-rid.sh
src/coreclr/src/pal/src/config.h.in
src/coreclr/src/pal/src/configure.cmake
src/coreclr/src/pal/src/include/pal/context.h