]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
Clean up compiler optimization variable FULL_OPTIMIZATION
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 22 Dec 2025 14:54:02 +0000 (22:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Jan 2026 16:50:56 +0000 (16:50 +0000)
commit2fb3bcbba551a3be0c5a8718ee84f506ffdd829f
tree89ae7de2553085fab383274ab085be96c98a3382
parentad79d92c58c66270233caf0404114e532521d5ed
Clean up compiler optimization variable FULL_OPTIMIZATION

In bitbake.conf, remove FULL_OPTIMIZATION, set "-O2 ${DEBUG_LEVELFLAG}"
to SELECTED_OPTIMIZATION directly

In mesa.inc, due to llvmpipe is slow if compiled with
-fomit-frame-pointer (e.g. -O2), set -fno-omit-frame-pointer
to TARGET_CFLAGS only if option -O2 existed

Correct typo in clang.patch

In recipe harfbuzz, use SELECTED_OPTIMIZATION to instead of
FULL_OPTIMIZATION

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf
meta/conf/documentation.conf
meta/recipes-graphics/harfbuzz/harfbuzz_12.3.0.bb
meta/recipes-graphics/mesa/mesa.inc
meta/recipes-multimedia/lame/lame/clang.patch