firefox: Workaround for building on i686-linux

http://hydra.nixos.org/build/13992569
This commit is contained in:
Eelco Dolstra 2014-09-07 00:46:25 +02:00
parent 301fe9360e
commit 4ead67b785

View File

@ -66,7 +66,8 @@ stdenv.mkDerivation rec {
] ]
++ (if debugBuild then [ "--enable-debug" "--enable-profiling"] ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
else [ "--disable-debug" "--enable-release" else [ "--disable-debug" "--enable-release"
"--enable-optimize" "--enable-strip" ]) "--enable-optimize${lib.optionalString (stdenv.system == "i686-linux") "=-O1"}"
"--enable-strip" ])
++ lib.optional enableOfficialBranding "--enable-official-branding"; ++ lib.optional enableOfficialBranding "--enable-official-branding";
enableParallelBuilding = true; enableParallelBuilding = true;