diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-08-30 13:00:16 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2018-08-30 13:00:16 +0200 |
commit | 2420eb783ced37259a1b92db34d644937236f2c6 (patch) | |
tree | aa0afd8e2ed83c3c3881e13f061c10abcf1fed8a /middleware/multicore/open-amp/porting/imx7d_m4 | |
parent | e8fdfaef2028dc68c3cb48f5be5c0ab6327fd1bd (diff) |
use -Og for debugging
Currently we use -O0 (no optimization) for debug builds. Unfortunately
this leads to large firmwares really quickly, and prevents debugging
in TCM/OCRAM. Use -Og which enables some optimization which do not
interfere with debugging. GCC manual says:
Optimize debugging experience. -Og enables optimizations that do not
interfere with debugging. It should be the optimization level of choice
for the standard edit-compile-debug cycle, offering a reasonable level
of optimization while maintaining fast compilation and a good debugging
experience.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'middleware/multicore/open-amp/porting/imx7d_m4')
0 files changed, 0 insertions, 0 deletions