libdrm: Enable tegra for linux platform instead of ARM arch
This aligns flag as the rest of SoCs like omap and etnaviv and helps finding headers for development in hosts outside ARM arch
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user