mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
meson: Only enable b_lto for nixexpr-parser when b_lto is enabled globally
This commit is contained in:
parent
5390bba920
commit
350d602832
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ parser_library = static_library(
|
|||
# by plonking down GIMPLE in the archive.
|
||||
override_options : [
|
||||
'b_ndebug=@0@'.format(not get_option('debug')),
|
||||
'b_lto=@0@'.format(cxx.get_id() != 'gcc'),
|
||||
'b_lto=@0@'.format(get_option('b_lto') and cxx.get_id() != 'gcc'),
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue