From: Daniel Golle Date: Thu, 14 Jun 2018 20:53:58 +0000 (+0200) Subject: libjson-c: fix host-build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5e9470a93b6e79ec63d2eda16f1849d7e3868562;p=openwrt%2Fstaging%2Flinusw.git libjson-c: fix host-build Add -Wno-implicit-fallthrough to HOST_CFLAGS. Signed-off-by: Daniel Golle --- 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