diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2018-06-02 15:59:24 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-06-04 11:25:14 +0200 |
commit | c8f568354b16896704e9f8e5f73b28df5f4c8eac (patch) | |
tree | 5c11a06d2f4c017ed153c0a5f9c5edb5844ec04b /.shippable.yml | |
parent | 4538c4f98ae5c6519c483e89dacd9bfa8df290bb (diff) |
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>
Diffstat (limited to '.shippable.yml')
0 files changed, 0 insertions, 0 deletions