mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
[Backport release-26.05] librewolf: only do LTO on linux (#528887)
This commit is contained in:
commit
8c8961d8d3
1 changed files with 8 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ callPackage, runCommand }:
|
||||
{
|
||||
callPackage,
|
||||
runCommand,
|
||||
lib,
|
||||
stdenv,
|
||||
}:
|
||||
let
|
||||
src = callPackage ./src.nix { };
|
||||
in
|
||||
|
|
@ -14,6 +19,8 @@ rec {
|
|||
# Flags based on discussion in https://github.com/NixOS/nixpkgs/issues/482250
|
||||
"--disable-debug"
|
||||
"--disable-debug-symbols"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
"--enable-lto=thin,cross"
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue