mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-24 06:00:18 +02:00
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:
parent
a01a3ed25b
commit
672896d754
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue