From 1532bfdcf0de5715b1cd9e1710d5e41a57504ad2 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 29 May 2014 11:31:03 +0300 Subject: [PATCH] ref-manual: Edits to the SELECTED_OPTIMIZATION variable. (From yocto-docs rev: d780744287fec32093dc1bf30cdfe6238c7aca27) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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.