From: Felix Fietkau Date: Thu, 4 May 2017 13:45:35 +0000 (+0200) Subject: json-c: disable implicit fallthrough warning (gcc 7) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e6d4235ae50ce025b74bc49e7ab442c92527cbc2;p=openwrt%2Fstaging%2Faparcar.git json-c: disable implicit fallthrough warning (gcc 7) Signed-off-by: Felix Fietkau --- diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile index 87dbc4708e..359a688f11 100644 --- a/package/libs/libjson-c/Makefile +++ b/package/libs/libjson-c/Makefile @@ -27,7 +27,7 @@ PKG_MAINTAINER:=Felix Fietkau include $(INCLUDE_DIR)/package.mk -TARGET_CFLAGS += $(FPIC) +TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough define Package/libjson-c SECTION:=libs