mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 11:36:03 +01:00
Merge pull request #14331 from NixOS/debug-build-fix
meson: Only enable b_lto for nixexpr-parser when b_lto is enabled glo…
This commit is contained in:
commit
d0217ec180
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ parser_library = static_library(
|
||||||
# by plonking down GIMPLE in the archive.
|
# by plonking down GIMPLE in the archive.
|
||||||
override_options : [
|
override_options : [
|
||||||
'b_ndebug=@0@'.format(not get_option('debug')),
|
'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