diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 96336babf0..a72c01c614 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -6987,10 +6987,19 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" SELECTED_OPTIMIZATION - The variable takes the value of + Specifies the optimization flags passed to the C compiler + when building for the target. + The flags are passed through the default + TARGET_CFLAGS + variable. + + + + The SELECTED_OPTIMIZATION variable + takes the value of FULL_OPTIMIZATION unless DEBUG_BUILD = "1". - In this case the value of + If that is the case, the value of DEBUG_OPTIMIZATION is used.