diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 815c6456c52c..1429cb39683a 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -432,7 +432,7 @@ buildStdenv.mkDerivation { ] # LTO is done using clang and lld on Linux. ++ lib.optionals ltoSupport [ - "--enable-lto=cross" # Cross-Language LTO + "--enable-lto=cross,full" # Cross-Language LTO "--enable-linker=lld" ] ++ lib.optional (isElfhackPlatform stdenv) (enableFeature elfhackSupport "elf-hack")