]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
grub2.inc: remove '-O2' from CFLAGS
authorKai Kang <kai.kang@windriver.com>
Sat, 8 May 2021 07:41:14 +0000 (15:41 +0800)
committerSteve Sakoman <steve@sakoman.com>
Sun, 27 Aug 2023 16:30:22 +0000 (06:30 -1000)
commit3575290c4cc937ae2f2c5604a5619ac6de9aa071
tree18c13e3db052c620a3287ddd693d8dd969d0a8e7
parent2be0f2c62fb893f093091cbb30967f32f9d3165b
grub2.inc: remove '-O2' from CFLAGS

It fails to boot grub after upgrade grub to 2.06. According to
description in

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14367

it is introduced by a commit to fix CVE. So remove option '-O2' from
CFLAGS rather than revert the commit to avoid the failure.

[YOCTO #14367]

CC: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69805629b8f47fd46a37b7c5cc435982e2ac3d1d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-bsp/grub/grub2.inc