diff options
author | Joel Challis <git@zvecr.com> | 2024-02-01 15:45:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 15:45:58 +0000 |
commit | 3a13c2120a9e3d897e05923c68efa542f3b3efc7 (patch) | |
tree | 49a92e5ddadbeb5e052a7f50c11cdce69adf3f20 /lib/python | |
parent | 79020519b4393c8a4f37c9b5fbd214a0f71192d4 (diff) |
Ensure LTO is enabled as a `info.json` build config option (#22932)
* feature.lto -> build.lto
* keymaps too
Diffstat (limited to 'lib/python')
-rw-r--r-- | lib/python/qmk/info.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 4ef12bea71..13588abdb8 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -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'] = {} |