flags for gcc-13
This commit is contained in:
parent
157e7a04fe
commit
3345192bb8
5
Makefile
5
Makefile
@ -32,6 +32,11 @@ EXTRA_CFLAGS += -DCONFIG_LED_ENABLE
|
|||||||
EXTRA_CFLAGS += -Wno-address
|
EXTRA_CFLAGS += -Wno-address
|
||||||
EXTRA_CFLAGS += -Wframe-larger-than=1648
|
EXTRA_CFLAGS += -Wframe-larger-than=1648
|
||||||
|
|
||||||
|
# gcc-13
|
||||||
|
EXTRA_CFLAGS += -Wno-stringop-overread
|
||||||
|
EXTRA_CFLAGS += -Wno-enum-conversion
|
||||||
|
EXTRA_CFLAGS += -Wno-int-in-bool-context
|
||||||
|
|
||||||
GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )
|
GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )
|
||||||
ifeq ($(GCC_VER_49),1)
|
ifeq ($(GCC_VER_49),1)
|
||||||
EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
|
EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
|
||||||
|
Loading…
x
Reference in New Issue
Block a user