From 47bc269b50eb0fab9ac2f708cecdce2e2df601d9 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 21 Nov 2022 11:12:10 +0700 Subject: fix build with rp2040 and rx65 --- examples/make.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/make.mk') diff --git a/examples/make.mk b/examples/make.mk index 47520d660..73a39a8fe 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -113,7 +113,8 @@ CFLAGS += \ # Debugging/Optimization ifeq ($(DEBUG), 1) - CFLAGS += -Og + CFLAGS += -O0 + NO_LTO = 1 else CFLAGS += $(CFLAGS_OPTIMIZED) endif -- cgit v1.3.1