json-c: disable implicit fallthrough warning (gcc 7)
authorFelix Fietkau <nbd@nbd.name>
Thu, 4 May 2017 13:45:35 +0000 (15:45 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 25 May 2017 17:01:07 +0000 (19:01 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/libs/libjson-c/Makefile

index 87dbc47..359a688 100644 (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