From d54aa08984a428fef41acdcf79bc4680f1c58554 Mon Sep 17 00:00:00 2001 From: morrownr Date: Sun, 9 Oct 2022 11:12:43 -0500 Subject: [PATCH] update for gcc-12 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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