pmaports/main/lk2nd-msm8953/o2.patch

14 lines
555 B
Diff
Raw Permalink Normal View History

diff --git a/makefile b/makefile
index 437f7bcb0..51b060c9c 100644
--- a/makefile
+++ b/makefile
@@ -53,7 +53,7 @@ ifeq ($(ENABLE_TRUSTZONE),1)
endif
INCLUDES := -I$(BUILDDIR) -Iinclude
-CFLAGS := -O2 -g -fno-builtin -finline -Wno-multichar -Wno-unused-parameter -Wno-unused-function $(LKLE_CFLAGS) -include $(CONFIGHEADER)
+CFLAGS := -O1 -g -fno-builtin -finline -Wno-multichar -Wno-unused-parameter -Wno-unused-function $(LKLE_CFLAGS) -include $(CONFIGHEADER)
# -fcommon is needed to build this using GCC 10
CFLAGS += -fcommon
#CFLAGS += -Werror