build: add 'lto' to features.txt if built with it

This makes it easy to tell at a glance if a build was with LTO or not.

Change-Id: I7ba9b412f7b74d300a0c55e36ea4cf522d46e6f2
This commit is contained in:
Solomon Peachy 2024-11-30 13:49:42 -05:00
parent a41cad6458
commit fdc17096b5
3 changed files with 11 additions and 0 deletions

View file

@ -308,3 +308,7 @@ perceptual_volume
#if defined(CODEC_AAC_SBR_DEC)
codec_aac_he
#endif
#if defined(USE_LTO)
lto
#endif