diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-09 07:42:43 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-09 07:42:43 +0000 |
commit | b45e219eec0a9337ab59fbfa0cc12df5c98354f0 (patch) | |
tree | 44d2b1ce69ef1f3b03d7234b55849c1de8aff0bf /pkgs/development/libraries/mesa | |
parent | 2595ec4f4bb283a4cf72c96ac998f0fe59b13cdd (diff) |
Making mesa build the DRI driver, required by the xorg server on the Fuloong2F
svn path=/nixpkgs/branches/stdenv-updates/; revision=23051
Diffstat (limited to 'pkgs/development/libraries/mesa')
-rw-r--r-- | pkgs/development/libraries/mesa/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index d878135923d8e..1060ae8f73809 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -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 = |