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 87dbc4708e0b3b4d307b58c5cf5d95123fdd9278..359a688f117187e1fa422cdf401451cae1375451 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