aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 5e7799f00..55cf0bc71 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