xulrunner: fix for building on i686
This commit is contained in:
parent
2140adf11f
commit
6af6bd9b51
@ -55,9 +55,10 @@ stdenv.mkDerivation rec {
|
|||||||
"--disable-updater"
|
"--disable-updater"
|
||||||
"--disable-pulseaudio"
|
"--disable-pulseaudio"
|
||||||
]
|
]
|
||||||
++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
|
++ (if debugBuild
|
||||||
else [ "--disable-debug" "--enable-release"
|
then [ "--enable-debug" "--enable-profiling"]
|
||||||
"--enable-optimize" "--enable-strip" ]);
|
else [ "--disable-debug" "--enable-release" "--enable-strip"
|
||||||
|
"--enable-optimize${lib.optionalString (stdenv.system == "i686-linux") "=-O1"}" ]);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -4070,6 +4070,7 @@ let
|
|||||||
tcl = callPackage ../development/interpreters/tcl { };
|
tcl = callPackage ../development/interpreters/tcl { };
|
||||||
|
|
||||||
xulrunner = callPackage ../development/interpreters/xulrunner {
|
xulrunner = callPackage ../development/interpreters/xulrunner {
|
||||||
|
stdenv = if stdenv.isLinux then useGoldLinker stdenv else stdenv;
|
||||||
inherit (gnome) libIDL;
|
inherit (gnome) libIDL;
|
||||||
inherit (pythonPackages) pysqlite;
|
inherit (pythonPackages) pysqlite;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user