Skip to content

Commit

Permalink
firefox: extend compile flag "--enable-lto=cross" with parameter "ful…
Browse files Browse the repository at this point in the history
…l" (NixOS#366901)
  • Loading branch information
mweinelt authored Jan 4, 2025
2 parents 966d1eb + 5f0d21d commit 1a04d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/firefox/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1a04d6a

Please sign in to comment.