json-c: disable implicit fallthrough warning (gcc 7)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
openwrt-18.06
Felix Fietkau 2017-05-04 15:45:35 +02:00
parent 60241e52db
commit e6d4235ae5
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
include $(INCLUDE_DIR)/package.mk
TARGET_CFLAGS += $(FPIC)
TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough
define Package/libjson-c
SECTION:=libs