libdrm: enable omap support

fixes build for xorg.xf86videoomap
This commit is contained in:
Robin Gloster 2019-08-26 23:08:02 +02:00
parent f2023c7ef1
commit fe9c9f719d
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
mesonFlags = [ mesonFlags = [
"-Dnm-path=${stdenv.cc.targetPrefix}nm" "-Dnm-path=${stdenv.cc.targetPrefix}nm"
"-Dinstall-test-programs=true" "-Dinstall-test-programs=true"
"-Domap=true"
] ++ lib.optionals (stdenv.isAarch32 || stdenv.isAarch64) [ ] ++ lib.optionals (stdenv.isAarch32 || stdenv.isAarch64) [
"-Dtegra=true" "-Dtegra=true"
"-Detnaviv=true" "-Detnaviv=true"