Making firefox build on mips

svn path=/nixpkgs/branches/stdenv-updates/; revision=23584
This commit is contained in:
Lluís Batlle i Rossell 2010-09-01 08:37:28 +00:00
parent 82627f99bb
commit e2b1de78c2

View File

@ -40,7 +40,6 @@ rec {
"--disable-necko-wifi" # maybe we want to enable this at some point "--disable-necko-wifi" # maybe we want to enable this at some point
]; ];
xulrunner = stdenv.mkDerivation { xulrunner = stdenv.mkDerivation {
name = "xulrunner-${xulVersion}"; name = "xulrunner-${xulVersion}";
@ -58,6 +57,10 @@ rec {
alsaLib nspr /* nss */ libnotify xlibs.pixman alsaLib nspr /* nss */ libnotify xlibs.pixman
]; ];
preConfigure = if stdenv.isMips then ''
export ac_cv_thread_keyword=no
'' else "";
configureFlags = configureFlags =
[ "--enable-application=xulrunner" [ "--enable-application=xulrunner"
"--disable-javaxpcom" "--disable-javaxpcom"