From 0320fea968e30c326db04b8a0283404cc281fa70 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 14 Jun 2018 22:53:58 +0200 Subject: [PATCH] libjson-c: fix host-build Add -Wno-implicit-fallthrough to HOST_CFLAGS. Signed-off-by: Daniel Golle (cherry picked from commit 5e9470a93b6e79ec63d2eda16f1849d7e3868562) --- package/libs/libjson-c/Makefile | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1