update for gcc-12
This commit is contained in:
parent
8ba5f9f2e9
commit
d54aa08984
4
Makefile
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user