1
0
Fork 0
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:
Connor Baker 2024-12-21 04:22:27 +00:00 committed by Connor Baker
parent deb3533eab
commit 359a0840e2
24 changed files with 15 additions and 48 deletions

View file

@ -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