Ensure LTO is enabled as a info.json
build config option (#22932)
* feature.lto -> build.lto * keymaps too
This commit is contained in:
parent
79020519b4
commit
3a13c2120a
23 changed files with 52 additions and 28 deletions
|
@ -233,6 +233,9 @@ def _extract_features(info_data, rules):
|
|||
key = '_'.join(key.split('_')[:-1]).lower()
|
||||
value = True if value.lower() in true_values else False if value.lower() in false_values else value
|
||||
|
||||
if key in ['lto']:
|
||||
continue
|
||||
|
||||
if 'config_h_features' not in info_data:
|
||||
info_data['config_h_features'] = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue