mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
lto.inc: disable LTO for grub
With gcc 11.1, compiling grub with LTO causes an internal compiler error (ICE), and with gcc 10.2, files under /usr/lib/grub/i386-pc/*.mod are not binary reproducible. [YOCTO #14490] (gcc 11.1 ICE) [YOCTO #14481] (LTO and binary reproducibility) (From OE-Core rev: d1fd3693411d83214f0f88b2f9d7aef12ecd6e02) Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
671b49e077
commit
a7762efa03
@@ -22,6 +22,8 @@ LTO:pn-perf = ""
|
||||
# webkit is not linking properly with LTO, disable until next time
|
||||
LTO:pn-webkitgtk = ""
|
||||
LTO:pn-xserver-xorg = ""
|
||||
LTO:pn-grub = ""
|
||||
LTO:pn-grub-efi = ""
|
||||
|
||||
# Custom LTO flags
|
||||
# disable partitioning/streaming algorithm since its uses ASM
|
||||
|
||||
Reference in New Issue
Block a user