Home
last modified time | relevance | path

Searched hist:c8f568354b16896704e9f8e5f73b28df5f4c8eac (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/arm/
H A Darm.mkc8f568354b16896704e9f8e5f73b28df5f4c8eac Sat Jun 02 13:59:24 UTC 2018 Jerome Forissier <jerome.forissier@linaro.org> core: introduce configuration flags for debug info and optimization

Introduces CFG_CC_OPTIMIZE_FOR_SIZE (default y) which selects the C
compiler flag -Os and -O0 otherwise, and CFG_DEBUG_INFO (default y)
which selects the C compiler flag -g3 and assembler flag -g.

DEBUG=1 is kept for compatibility.

Being able to compile without -g is useful to get much better performance
from ccache thanks to its 'unify' option [1].

Link: https://github.com/ccache/ccache/blob/v3.4.2/doc/MANUAL.adoc#configuration-settings
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>