Making mesa build the DRI driver, required by the xorg server on the Fuloong2F

svn path=/nixpkgs/branches/stdenv-updates/; revision=23051
This commit is contained in:
Lluís Batlle i Rossell 2010-08-09 07:42:43 +00:00
parent 2595ec4f4b
commit b45e219eec
2 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,8 @@ stdenv.mkDerivation {
configureFlags =
"--disable-gallium"
+ (if stdenv.system == "ict_loongson-2_v0.3_fpu_v0.1-linux" then
" --with-dri-drivers=swrast --with-driver=dri" else "")
+ (if stdenv.isDarwin then " --disable-egl" else "");
buildInputs =

View File

@ -149,8 +149,6 @@ in
rm -fr $out/share/X11/xkb/compiled
ln -s /var/tmp $out/share/X11/xkb/compiled
'';
configureFlagsArray = args.stdenv.lib.optionals
(args.stdenv.system == "ict_loongson-2_v0.3_fpu_v0.1-linux") [ "--disable-dri" ];
};
libSM = attrs: attrs // args.stdenv.lib.optionalAttrs (args.stdenv.system == "i686-darwin") {