Skip to content

Commit

Permalink
libjson-c: fix host-build
Browse files Browse the repository at this point in the history
Add -Wno-implicit-fallthrough to HOST_CFLAGS.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 5e9470a)
  • Loading branch information
dangowrt authored and neocturne committed Sep 3, 2018
1 parent da9fe5a commit 0320fea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/libs/libjson-c/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 0320fea

Please sign in to comment.