boot: Build with -flto=auto if available
authorJan Janssen <medhefgo@web.de>
Fri, 13 May 2022 12:25:32 +0000 (14:25 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 21 May 2022 14:07:47 +0000 (15:07 +0100)
commit7d4953de131657c43c897e4b3ea65d71f380dc34
tree300ae4382087bc944a53961b73f603221d263788
parent351b30dae00eca6ca27dd30c36a1667c423c8682
boot: Build with -flto=auto if available

Without this, we may get the following warning with gcc-12:
    lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
src/boot/efi/meson.build