libjson-c: fix host-build
authorDaniel Golle <daniel@makrotopia.org>
Thu, 14 Jun 2018 20:53:58 +0000 (22:53 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 14 Jun 2018 20:53:58 +0000 (22:53 +0200)
Add -Wno-implicit-fallthrough to HOST_CFLAGS.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/libs/libjson-c/Makefile

index 60b51146af2c5f518897314f43482e424d004a32..a9a177e5a23b52b8ff0f3fe5b3b6cef2a3173a53 100644 (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