xulrunner: fix for building on i686

This commit is contained in:
Mathijs Kwik 2014-10-22 16:17:44 +02:00
parent 2140adf11f
commit 6af6bd9b51
2 changed files with 5 additions and 3 deletions

View File

@ -55,9 +55,10 @@ stdenv.mkDerivation rec {
"--disable-updater"
"--disable-pulseaudio"
]
++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
else [ "--disable-debug" "--enable-release"
"--enable-optimize" "--enable-strip" ]);
++ (if debugBuild
then [ "--enable-debug" "--enable-profiling"]
else [ "--disable-debug" "--enable-release" "--enable-strip"
"--enable-optimize${lib.optionalString (stdenv.system == "i686-linux") "=-O1"}" ]);
enableParallelBuilding = true;

View File

@ -4070,6 +4070,7 @@ let
tcl = callPackage ../development/interpreters/tcl { };
xulrunner = callPackage ../development/interpreters/xulrunner {
stdenv = if stdenv.isLinux then useGoldLinker stdenv else stdenv;
inherit (gnome) libIDL;
inherit (pythonPackages) pysqlite;
};