mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
Merge pull request #315542 from NixOS/backport-314071-to-release-24.05
[Backport release-24.05] lix: build in release mode with link time optimizations
This commit is contained in:
commit
16a3c1d60d
1 changed files with 3 additions and 0 deletions
|
@ -182,8 +182,11 @@ let
|
|||
''}
|
||||
'';
|
||||
|
||||
mesonBuildType = "release";
|
||||
mesonFlags =
|
||||
[
|
||||
# LTO optimization
|
||||
(lib.mesonBool "b_lto" (!stdenv.isDarwin))
|
||||
(lib.mesonEnable "gc" true)
|
||||
(lib.mesonBool "enable-tests" true)
|
||||
(lib.mesonBool "enable-docs" enableDocumentation)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue