From: Daniel Golle Date: Thu, 14 Jun 2018 20:53:58 +0000 (+0200) Subject: libjson-c: fix host-build X-Git-Tag: v18.06.2~385 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0320fea968e30c326db04b8a0283404cc281fa70;p=openwrt%2Fstaging%2Fpepe2k.git libjson-c: fix host-build Add -Wno-implicit-fallthrough to HOST_CFLAGS. Signed-off-by: Daniel Golle (cherry picked from commit 5e9470a93b6e79ec63d2eda16f1849d7e3868562) --- diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile index 60b51146af..a9a177e5a2 100644 --- a/package/libs/libjson-c/Makefile +++ b/package/libs/libjson-c/Makefile @@ -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