ref-manual: Edits to the SELECTED_OPTIMIZATION variable.

(From yocto-docs rev: d780744287fec32093dc1bf30cdfe6238c7aca27)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2014-05-29 11:31:03 +03:00 committed by Richard Purdie
parent 57bd61eabb
commit 1532bfdcf0
1 changed files with 11 additions and 2 deletions

View File

@ -6987,10 +6987,19 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<glossentry id='var-SELECTED_OPTIMIZATION'><glossterm>SELECTED_OPTIMIZATION</glossterm>
<glossdef>
<para>
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
<link linkend='var-TARGET_CFLAGS'><filename>TARGET_CFLAGS</filename></link>
variable.
</para>
<para>
The <filename>SELECTED_OPTIMIZATION</filename> variable
takes the value of
<filename><link linkend='var-FULL_OPTIMIZATION'>FULL_OPTIMIZATION</link></filename>
unless <filename><link linkend='var-DEBUG_BUILD'>DEBUG_BUILD</link></filename> = "1".
In this case the value of
If that is the case, the value of
<filename><link linkend='var-DEBUG_OPTIMIZATION'>DEBUG_OPTIMIZATION</link></filename> is used.
</para>
</glossdef>