optimization


Massimiliano Cialdi
 

I wonder how I can force -O3 optimization if I need it in my project.

In zephyr/Makefile I found
ifeq ($(CONFIG_DEBUG),y)
KBUILD_CFLAGS_OPTIMIZE := -Og
else
KBUILD_CFLAGS_OPTIMIZE := -Os
endif

If I wanted to avoid modifying the Makefile file, is there a way to do this by touching only my application's files?

best regards