mirror of https://github.com/hak5/openwrt.git
libjson-c: fix host-build
Add -Wno-implicit-fallthrough to HOST_CFLAGS. Signed-off-by: Daniel Golle <daniel@makrotopia.org>openwrt-19.07
parent
8428156f48
commit
5e9470a93b
|
@ -30,6 +30,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough
|
TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough
|
||||||
|
HOST_CFLAGS += -Wno-implicit-fallthrough
|
||||||
|
|
||||||
define Package/libjson-c
|
define Package/libjson-c
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
|
|
Loading…
Reference in New Issue