firefox: use -O3 on 32bit linux to reduce memory usage on linker

This commit is contained in:
Domen Kožar 2014-10-16 11:12:26 +02:00
parent d704fb3b36
commit dd9ebf6eea

View file

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