init: disable LTO by default for sanitizer builds

This commit is contained in:
Danny Robson 2021-04-09 13:32:13 +10:00
parent 497a100eec
commit 15f5db46d1

View File

@ -90,6 +90,7 @@ OPTIONS['release'] = Option(
OPTIONS['sanitizer'] = Option(
vars={
'SANITIZER': 'ON',
'LTO': 'OFF',
},
require=[
'release'