Add -Wno-vla to avoid more compilation warnings as per 5.3.4 Makefile

This commit is contained in:
satmandu 2019-05-30 16:56:22 -04:00 committed by GitHub
parent a1ba309e1d
commit d992db02b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,8 @@ ifeq ($(GCC_VER_49),1)
EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
endif
EXTRA_CFLAGS += -Wno-vla
EXTRA_CFLAGS += -I$(src)/include
EXTRA_LDFLAGS += --strip-debug