mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
bitbake.conf: Further cleanup compiler optimization flags
Move the -pipe option out of the optimization flags and directly into the flags variables since we always use it now. Also move the debug prefix mapping there to match the nativesdk case which already does this. Fix the documentation and two recipe usages to match the change. (From OE-Core rev: 9badf68d78d995f7d5d4cf27e045f029fc6d4044) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -88,7 +88,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
|
||||
# to -O2 but uses -O0 for some specific test apps etc. Passing our own flags
|
||||
# (via CFLAGS) means we interfere with that. Only pass DEBUG_FLAGS to it
|
||||
# which fixes build path issue in DWARF.
|
||||
SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}"
|
||||
SELECTED_OPTIMIZATION = "${DEBUG_LEVELFLAG}"
|
||||
|
||||
# Split out various helper scripts to separate packages to avoid the
|
||||
# main package depending on perl and python.
|
||||
|
||||
Reference in New Issue
Block a user