Merge pull request #366 from satmandu/v5.6.4

-Wno-vla CFLAG is in 5.3.4 Makefile, and prevents many error messages in compile
This commit is contained in:
Christian Bremvåg 2019-05-31 17:24:54 +02:00 committed by GitHub
commit 57d0d8d7c8
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