diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index a72c01c614..214ef09f4a 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -928,6 +928,26 @@ + BUILD_OPTIMIZATION + + + Specifies the optimization flags passed to the C compiler + when building for the host or the SDK. + The flags are passed through the + BUILD_CFLAGS + and + BUILDSDK_CFLAGS + default values. + + + + The default value of the + BUILD_OPTIMIZATION variable is + "-O2 -pipe". + + + + BUILDDIR