libdrm: Enable tegra for linux platform instead of ARM arch (#486912)

This commit is contained in:
K900
2026-03-06 08:44:22 +00:00
committed by GitHub
+1 -3
View File
@@ -47,9 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.mesonEnable "intel" withIntel)
(lib.mesonEnable "omap" stdenv.hostPlatform.isLinux)
(lib.mesonEnable "valgrind" withValgrind)
]
++ lib.optionals stdenv.hostPlatform.isAarch [
"-Dtegra=enabled"
(lib.mesonEnable "tegra" stdenv.hostPlatform.isLinux)
]
++ lib.optionals (!stdenv.hostPlatform.isLinux) [
"-Detnaviv=disabled"