libjson-c: fix host-build

Add -Wno-implicit-fallthrough to HOST_CFLAGS.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
openwrt-19.07
Daniel Golle 2018-06-14 22:53:58 +02:00
parent 8428156f48
commit 5e9470a93b
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough
HOST_CFLAGS += -Wno-implicit-fallthrough
define Package/libjson-c define Package/libjson-c
SECTION:=libs SECTION:=libs