diff --git a/Makefile.rules b/Makefile.rules index 5e7799f006..55cf0bc718 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -39,6 +39,8 @@ OPTIMIZE?=-O6 ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),) _ASTCFLAGS+=$(OPTIMIZE) +else + _ASTCFLAGS+=-O0 endif # shortcuts for common combinations of flags; these must be recursively expanded so that