summaryrefslogtreecommitdiffstats
path: root/package/libs/libjson-c/Makefile
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2018-06-14 22:53:58 +0200
committerDaniel Golle <daniel@makrotopia.org>2018-06-14 22:53:58 +0200
commit5e9470a93b6e79ec63d2eda16f1849d7e3868562 (patch)
treee18999ed89bff73e7b122ffe9174da09eab362d7 /package/libs/libjson-c/Makefile
parent8428156f48fbb1d51422a590a1105c66beaafeab (diff)
downloadopenwrt-5e9470a93b6e79ec63d2eda16f1849d7e3868562.tar.gz
openwrt-5e9470a93b6e79ec63d2eda16f1849d7e3868562.tar.bz2
openwrt-5e9470a93b6e79ec63d2eda16f1849d7e3868562.zip
libjson-c: fix host-build
Add -Wno-implicit-fallthrough to HOST_CFLAGS. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/libs/libjson-c/Makefile')
-rw-r--r--package/libs/libjson-c/Makefile1
1 files changed, 1 insertions, 0 deletions
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