diff --git a/Makefile b/Makefile index 4174e4a..1cd1c6a 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,10 @@ EXTRA_CFLAGS += -Wno-misleading-indentation EXTRA_CFLAGS += -Wno-implicit-fallthrough #EXTRA_CFLAGS += -Wno-return-type +# gcc-12 +EXTRA_CFLAGS += -Wno-address +EXTRA_CFLAGS += -Wframe-larger-than=1648 + GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc ) ifeq ($(GCC_VER_49),1) EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later