Makefile: Switch to -Os for DM42

We are now reaching the point where we need to use that option to fit
on the DM42. The time has come to switch to `-Os` to compress the code
a little.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
Christophe de Dinechin 2023-09-14 00:27:49 +02:00
parent d848e28a21
commit 3b7af3a360

View file

@ -284,7 +284,9 @@ DBGFLAGS = $(DBGFLAGS_$(OPT))
DBGFLAGS_debug = -g
CFLAGS_debug += -O0 -DDEBUG
CFLAGS_release += -O2
CFLAGS_release += $(CFLAGS_release_$(VARIANT))
CFLAGS_release_DM42 = -Os
CFLAGS_release_DM32 = -O2
CFLAGS_small += -Os
CFLAGS_fast += -O2
CFLAGS_faster += -O3