Skip to contentSkip to conversation

ref-manual: update DEBUG_OPTIMIZATION/FULL_OPTIMIZATION

PATCH RESEND Applied Andrei Lalaev 2 participants 2 messages Sep 10

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 ref-manual: update DEBUG_OPTIMIZATION/FULL_OPTIMIZATION

Commit 9badf68d78d9 ("bitbake.conf: Further cleanup compiler optimization flags") in openembedded-core changed the default values of these variables. But documentation wasn't updated. Update to the correct values.

---
 documentation/ref-manual/variables.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
documentation/ref-manual/variables.rst +4 -4
index 83bc59efe..e0055920e 100644
@@ -2180,8 +2180,8 @@ system and gives an overview of their function and contents.
 
    :term:`DEBUG_OPTIMIZATION`
       The options to pass in :term:`TARGET_CFLAGS` and :term:`CFLAGS` when
-      compiling a system for debugging. This variable defaults to "-O
-      -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe".
+      compiling a system for debugging. This variable defaults to "-Og
+      ${DEBUG_LEVELFLAG}".
 
    :term:`DEBUG_PREFIX_MAP`
       Allows to set C compiler options, such as ``-fdebug-prefix-map``,
@@ -3811,8 +3811,8 @@ system and gives an overview of their function and contents.
 
    :term:`FULL_OPTIMIZATION`
       The options to pass in :term:`TARGET_CFLAGS` and :term:`CFLAGS` when
-      compiling an optimized system. This variable defaults to "-O2 -pipe
-      ${DEBUG_FLAGS}".
+      compiling an optimized system. This variable defaults to "-O2
+      ${DEBUG_LEVELFLAG}".
 
    :term:`GCCPIE`
       Enables Position Independent Executables (PIE) within the GNU C

---
base-commit: e35e86e9aea4e4ae12e8e0ba8a6391f2b2555b63
change-id: 20260910-master-cf1a97eb6bc2

Best regards,
--
Andrei Lalaev <[email protected]>

Signature · 1 line
Andrei Lalaev <[email protected]>