firefox: use -O3 on 32bit linux to reduce memory usage on linker
This commit is contained in:
parent
d704fb3b36
commit
dd9ebf6eea
@ -66,7 +66,7 @@ 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${lib.optionalString (stdenv.system == "i686-linux") "=-O1"}"
|
"--enable-optimize${lib.optionalString (stdenv.system == "i686-linux") "=-O3"}"
|
||||||
"--enable-strip" ])
|
"--enable-strip" ])
|
||||||
++ lib.optional enableOfficialBranding "--enable-official-branding";
|
++ lib.optional enableOfficialBranding "--enable-official-branding";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user