firefox: extend compile flag "--enable-lto=cross" with parameter "full" (#366901)

This commit is contained in:
Martin Weinelt
2025-01-04 16:50:22 +01:00
committed by GitHub
@@ -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")