Merge pull request #111282 from r-burns/libdrm-cross

libdrm: fix cross-compile to x86
This commit is contained in:
Guillaume Girol
2021-02-26 19:35:06 +00:00
committed by GitHub

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";