libjson-c: fix host-build

Add -Wno-implicit-fallthrough to HOST_CFLAGS.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 5e9470a93b6e79ec63d2eda16f1849d7e3868562)
This commit is contained in:
Daniel Golle 2018-06-14 22:53:58 +02:00 committed by Matthias Schiffer
parent da9fe5af19
commit 0320fea968
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

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