mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
packaging: use optimization level 3 and LTO by default
This commit is contained in:
parent
deb3533eab
commit
359a0840e2
24 changed files with 15 additions and 48 deletions
|
@ -16,7 +16,3 @@ add_project_arguments(
|
|||
'-Wno-deprecated-declarations',
|
||||
language : 'cpp',
|
||||
)
|
||||
|
||||
if get_option('buildtype') not in ['debug']
|
||||
add_project_arguments('-O3', language : 'cpp')
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue