]> code.ossystems Code Review - 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 May 2021 22:30:10 +0000 (23:30 +0100)
commit69805629b8f47fd46a37b7c5cc435982e2ac3d1d
tree732225bfab27a6d0d402ce585cc9ff0db73054c1
parentd9a3a08edc1efcbe7b02e80be98370792d3c6cc2
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>
meta/recipes-bsp/grub/grub2.inc