libdrm: fix cross-compile to x86

Don't omit drm_intel when cross-compiling.

We've had this switch since
ca5d91aa60
and it doesn't seem to be needed anymore.

https://hydra.nixos.org/eval/1644952?filter=x86_64-musl.mesa#tabs-still-fail
This commit is contained in:
Ryan Burns 2021-01-30 00:53:37 -08:00
parent 58d07b1711
commit d88318ee55

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals (stdenv.isAarch32 || stdenv.isAarch64) [
"-Dtegra=true"
"-Detnaviv=true"
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-Dintel=false";
];
meta = with lib; {
homepage = "https://gitlab.freedesktop.org/mesa/drm";