diff options
| author | Jérôme Leclercq <[email protected]> | 2023-10-26 11:36:24 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-26 11:36:24 +0200 |
| commit | 5b0dde755ac682f18a407899f16905a1aae331f9 (patch) | |
| tree | 4228c8a8804b017ce4fd681b4d06e184ac1aaf13 /tests/plugins/pack/src/main.cpp | |
| parent | 30b0405058c7a90ec60f36179993c74b59717994 (diff) | |
Fix asan and lto config handling
This fixes two things:
1) when `project.policy("build.sanitizer.address")` is true, there is no way to disable asan on a package, `add_requires("xx", { configs { asan = false } })` won't work because of the `or` (it should check for nil)
2) When asan is set to false, it won't match installed packages with asan key set to nil even though they are identical. So when asan/lto key is set to false, it will remove the asan/lto key from config
Diffstat (limited to 'tests/plugins/pack/src/main.cpp')
0 files changed, 0 insertions, 0 deletions
