libdrm: fix build on armv6

valgrind is not available on armv6 and the build fails if valgrind
support is not explicitly disabled.
This commit is contained in:
rnhmjoj 2022-09-29 11:15:14 +02:00 committed by Rick van Schijndel
parent a01a3ed25b
commit 672896d754

View file

@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
"-Dinstall-test-programs=true"
"-Domap=enabled"
"-Dcairo-tests=disabled"
"-Dvalgrind=${if withValgrind then "enabled" else "disabled"}"
] ++ lib.optionals stdenv.hostPlatform.isAarch [
"-Dtegra=enabled"
"-Detnaviv=enabled"