1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

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"]
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";
enableParallelBuilding = true;